10000 GitHub - bethsecor/portal2d: 2D Portal Javascript Game
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bethsecor/portal2d

 
 

Repository files navigation

Portal 2D

A JavaScript 2D version of Portal.

Game In Action

See the full demo here.

How to play

Visit http://gregoryarmstrong.github.io/portal2d/ to play the game.

Use the left and right arrow keys to move left and right. The up arrow key will make the player jump. Use the A key to shoot left, the W key to shoot up, the D key to shoot right, and the X key to shoot down. The shift key will change the color of the portal to be created (either orange or blue).

Falling into the lava will result in the players death, and the level is automatically restarted. To win the level, the player must get to the brown door.

Features

  • Levels of increasing difficulty: Puzzles get harder with each level.
  • Track number of attempts: The game will track how many times you've attempted each level within each game. Total number of attempts are stored in sessionStorage and the total number of attempts for each game played in that session are displayed at the end of each game.

Tools

  • Javascript
  • lodash
  • HTML 5 Canvas
  • Mocha / Chai

The Team

Greg Armstrong

Greg Armstrong

Github // Email

I’m an endlessly inquisitive full-stack developer that thrives on tacking new problems and building long-lasting relationships with those I collaborate with. My previous experiences in spinal cord research and surgery have endowed me with a critical eye and steady hand for crafting adroit, performant code. I am eager to join a team doing meaningful work which will push me to continuously improve my abilities through mentorship while also exposing me to new technologies. Lets improve the world together.

Beth Secor

Beth Secor

Blog // Github // Email

As a full stack developer, I have the ability to balance finishing a project on schedule while also maintaining code quality. I love learning new things and enjoy new challenges. Talking about code with other people is one of my favorite parts about programming.

Before coming to Turing, I studied statistics at UC Berkeley and worked for four years analyzing a range of different data related to neuroscience and public health.


To run locally:

npm install

To fire up 5B10 a development server:

npm start

Once the server is running, you can visit:

  • http://localhost:8080/webpack-dev-server/ to run your application.
  • http://localhost:8080/webpack-dev-server/test.html to run your test suite in the browser.

To build the static files:

npm run build

To run tests in Node:

npm test

About

2D Portal Javascript Game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Other 0.5%
0