Skip to content

šŸŽ®ā›µ An enticing and engaging game for DBIT's online techfest Teknack'18. Ahoy mates. Welcome aboard!!

License

Notifications You must be signed in to change notification settings

jaffreyjoy/pirate-rush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

81 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

pirate-rush

šŸŽ®ā›µ An enticing and engaging game for DBIT's online techfest Teknack'18. Ahoy mates. Welcome aboard!!


This game was created using PhaserJS(check it out), nodejs, express and mongoDB.

Contents

Installation

  • nodejs >= v6.9 get it here.
  • Run npm install in the root directory.
  • For functioning leaderboard you need mongoDB to be installed get the community version here.
  • Add mongod and mongo to the PATH if you want to run the shell from anywhere or else you will have to navigate to the bin directory every time to run the mongo shell.

Running the game

  • change the environment variable in app.js from production to development.
  • open the terminal (not necessarily in the root directory) and run mongod to start the mongo server.
  • open another instance of the terminal in the root directory and execute node app.js to start the express server.
  • open your browser and type localhost:3004 in the address bar to run the game. You can also change the port by changing the value of the port variable in app.js and restarting the express server.

Story

A pirate ventures on a voyage to find the greatest treasure in the world. But, in order to achieve that goal, he needs to fight many other pirates who have the pieces of the map that leads to the greatest treasure.

Instructions

  • The main objective is to shoot down a particular number(varies for each level) of enemy pirate ships before you run out of life or ammo.
  • The score will be based on how quickly a level is completed, the amount of ammo used and accuracy of the cannon shots.
  • As the battle nears its end a map will spawn on the location of the last ship that was shot down.
  • Collecting the map will take you to the next level.
  • There are 4 levels with the 4th one being the BOSS level.

Play with volume on for best experience. Enjoy the thrilling šŸŽµ šŸŽ¶

How to play

  • Press W or ā­” to steer the ship forward.

  • Press A or ā­  to rotate the helm(steering) of the ship towards the left.

  • Press D or ā­¢ to rotate the helm(steering) of the ship towards the right.

  • Move the mouse around to change the direction of the cannon.

  • Left click the mouse to fire a cannonball.

Use W , A and D in combination for better steering.


Screenshots

  • Loading Screen

Loading Screen

  • Home Page

Home Page

  • Instructions

Instructions

  • Level 1

Level 1

  • Level 2

Level 2

  • Map Unlock

Map Unlock

  • Level Complete

Level Complete

  • Leaderboard

Leaderboard

Well, where are levels 3 and 4? You gotta šŸŽ® to find out. šŸ˜œ

About

šŸŽ®ā›µ An enticing and engaging game for DBIT's online techfest Teknack'18. Ahoy mates. Welcome aboard!!

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •