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.).
##Contact
###Technologies and languages used:
/
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
- Clone project
$ git clone https://github.com/cray0000/type4fame.git
- Install dependencies
$ cd type4fame && npm install
-
Install MongoDB
-
Populate test data for mongo (need to be done only once on fresh project)
$ INIT_DATA=yes node server.js
- Run normally
$ node server
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.