Code Monkey home page Code Monkey logo

node-games's Introduction

Hi there ๐Ÿ‘‹

I started my programming journey first by becoming an open-source contributor of Firefox, meanwhile contributing to various projects on GitHub as well. I advocate for open-source software at my job and I hope to be able to do open-source work full-time, working on projects ranging from operating systems and low-level components all the way up to user interfaces and web applications.

I am mainly interested in these areas:

  • Low-level programming with ASM, C, Rust and similar languages
  • Mathematical optimisations
  • GPU and rendering technologies
  • Functional programming (mainly Haskell) and Category Theory
  • Developer tools: making life of engineers easier

You can reach me on [email protected]

node-games's People

Contributors

alanmtk avatar amovah avatar mahmood avatar mdibaiee avatar wbourne0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

node-games's Issues

Pls i beg lol

Ok hello, i have a request please rename your package to nodegamers or something else than node-games or nodegames because i'd like to publish a package similar to pygame called nodegames and it doesn't allow me too as your package name "node-games" is too similar. PLSS

folder structure looks different

you folder structure looks different to other node js projects. Most node js contains has lib, public, router, scripts, views but you are following a different structure. I am curious to know reason for your structure.

Don't allow snake to go backwards

In the old snake games, if you were going right and you hit left, nothing happened. In this version, it kills you. ๐Ÿ˜ฆ ๐Ÿ

Error running game

Hi. I'm getting this error running the game:

/Users/mamal/.nvm/versions/node/v4.2.2/lib/node_modules/node-games/spacecraft.js:1
(function (exports, require, module, __filename, __dirname) { import Unit from './classes/unit';
                                                              ^^^^^^

SyntaxError: Unexpected reserved word
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Module._extensions..js (module.js:442:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/mamal/.nvm/versions/node/v4.2.2/lib/node_modules/node-games/node_modules/babel-register/lib/node.js:138:7)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/mamal/.nvm/versions/node/v4.2.2/lib/node_modules/node-games/index.js:16:1)
    at Module._compile (module.js:435:26)

Clear screen on exit

Hi, cool games! I was playing around with it a bit and noticed the screen didn't clear when exiting (on Linux and Windows). I think this isn't wanted behaviour? I think clearing one more time on exit could solve this.

// classes/interface.js
if (key === 'exit') {
  this.output.write('\u001b[2J\u001b[0;0H'); // this through fat arrow function
  process.exit();
}

Example: Here you can see a leftover snake ๐Ÿ while issuing a new command.

snakeAfterExit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.