Online multiplayer typing game. Built with DerbyJS.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
bin
haml
public
sass
src
styles
ui
views
.gitignore
Gemfile
Guardfile
LICENSE
README.md
config.rb
humans.txt
package.json
robots.txt
server.js

README.md

#Type4Fame

Type4Fame is a multiplayer typing game havily inspired by typeracer.com but targeting a wider audience, a lot of cool gamification features, new game modes and ability to create your own public or private games. Get experience and money as you type, upgrade and buy new chars (not only cars, but superheroes, planes, rockets, robots, heroes from games and anime, etc.).

Screenshot in Game Screenshot in Lobby

##Contact

###Bugs ###Email

Code Overview

###Technologies and languages used:

Code structure

/
  src/
    app/          # Client-Server code
    server/       # Server-only code
  haml/           # Views (compile to views/)
  sass/           # Stylesheets (compile to public/css/)
  public/         # Public folder with images, css, vendor js

How to run locally

  1. Clone project
  $ git clone https://github.com/cray0000/type4fame.git
  1. Install dependencies
  $ cd type4fame && npm install
  1. Install MongoDB

  2. Populate test data for mongo (need to be done only once on fresh project)

  $ INIT_DATA=yes node server.js
  1. Run normally
  $ node server

How to modify and contribute

You can find:

  • Views (written in HAML) in haml/ directory.
  • Stylesheets (written in SASS) in sass/
  • Project code (written in Coffeescript) in app/

You don't need to compile .coffee to .js, because it's done automatically for you. But .html.haml and .sass files need to be compiled into .html and .css. To do so you'll first need to install ruby and ruby gems listed in Gemfile:

  $ curl -L https://get.rvm.io | bash -s stable --ruby
  $ cd /path/to/type4fame
  $ bundle install

Now you can run

  $ guard

and your .html.haml and .sass will automatically compile on every file modification.

##License Code is licensed under GNU GPL v3. Content is licensed under CC-BY-SA 3.0. See the LICENSE file for details.