3
.gitignore
vendored
|
@ -35,6 +35,9 @@ Thumbs.db
|
|||
node_modules/
|
||||
bower_components/
|
||||
|
||||
# Vagrant
|
||||
.vagrant/
|
||||
|
||||
# Some other random stuff
|
||||
always-ignore extensions
|
||||
*.diff
|
||||
|
|
|
@ -59,6 +59,9 @@ Thumbs.db
|
|||
# NPM packages folder.
|
||||
node_modules/
|
||||
|
||||
# Vagrant
|
||||
.vagrant/
|
||||
|
||||
# Some other random stuff
|
||||
always-ignore extensions
|
||||
*.diff
|
||||
|
|
|
@ -7,10 +7,11 @@ before_install:
|
|||
- "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list"
|
||||
- "sudo apt-get update"
|
||||
- "sudo apt-get install mongodb-org-server"
|
||||
|
||||
|
||||
before_script:
|
||||
- "npm install"
|
||||
- export DISPLAY=:99.0
|
||||
- export COCO_TRAVIS_TEST=1
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
- "./node_modules/.bin/bower install"
|
||||
- "gem install sass"
|
||||
|
@ -22,4 +23,4 @@ before_script:
|
|||
|
||||
script:
|
||||
- "./node_modules/jasmine-node/bin/jasmine-node test/server/ --coffee --captureExceptions"
|
||||
- "./node_modules/karma/bin/karma start --browsers Firefox --single-run"
|
||||
# - "./node_modules/karma/bin/karma start --browsers Firefox --single-run --reporters progress"
|
||||
|
|
|
@ -1,7 +1,20 @@
|
|||
### Please sign our Contributor License Agreement
|
||||
##Contributing to CodeCombat
|
||||
|
||||
**[http://codecombat.com/cla](http://codecombat.com/cla)**
|
||||
There are many ways in which to contribute to CodeCombat, these include becoming a(n):
|
||||
|
||||
- **[Archmage](https://codecombat.com/contribute/archmage)** (Coder)
|
||||
- **[Artisan](https://codecombat.com/contribute/artisan)** (Level Builder)
|
||||
- **[Adventurer](https://codecombat.com/contribute/adventurer)** (Level Playtester)
|
||||
- **[Scribe](https://codecombat.com/contribute/scribe)** (Article Editor)
|
||||
- **[Diplomat](https://codecombat.com/contribute/diplomat)** (Translator)
|
||||
- **[Ambassador](https://codecombat.com/contribute/ambassador)** (Support)
|
||||
|
||||
###The CLA
|
||||
|
||||
If you do decide to contribute, we require you to sign a CLA (Contributor License Agreement). You can see it:
|
||||
|
||||
**[https://codecombat.com/cla](https://codecombat.com/cla)**
|
||||
|
||||
It just grants us a non-exclusive license to use your contribution and certifies you have the right to contribute the code you submit. For both our sakes, we need this before we can accept a pull request. Don't worry, it's super easy.
|
||||
|
||||
For more info, see [http://codecombat.com/legal](http://codecombat.com/legal).
|
||||
For more info on the legal side of contributing to CodeCombat, see [https://codecombat.com/legal](https://codecombat.com/legal).
|
||||
|
|
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 CodeCombat Inc. and other contributors
|
||||
Copyright (c) 2015 CodeCombat Inc. and other contributors
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
|
|
89
README.md
|
@ -1,20 +1,19 @@
|
|||
CodeCombat
|
||||
==========
|
||||
#CodeCombat
|
||||
|
||||

|
||||
<div style="text-align:center"><a href="http://codecombat.com/"><img src ="https://dl.dropboxusercontent.com/u/138899/GitHub%20Wikis/readme_00.png" /></a></div>
|
||||
[](https://travis-ci.org/codecombat/codecombat)
|
||||
|
||||
CodeCombat is a multiplayer programming game for learning how to code. **See the [Archmage developer wiki](https://github.com/codecombat/codecombat/wiki/Archmage-Home) for a dev setup guide, extensive documentation, and much more.**
|
||||
CodeCombat is a multiplayer programming game for learning how to code. **See the [Archmage (coder) developer wiki](https://github.com/codecombat/codecombat/wiki/Archmage-Home) for a dev setup guide, extensive documentation, and much more. Every new person that wants to start contributing the project coding should start there.**
|
||||
|
||||
It's both a startup and a community project, completely open source under the [MIT and Creative Commons licenses](http://codecombat.com/legal). It's the largest open source [CoffeeScript](http://coffeescript.org/) project by lines of code, and since it's a game (with [really cool tech](https://github.com/codecombat/codecombat/wiki/Third-party-software-and-services)), it's really fun to hack on. Join us in teaching the world to code! Your contribution will go on to show millions of players how cool programming can be.
|
||||
|
||||
### [Getting Started](https://github.com/codecombat/codecombat/wiki/Developer-environment)
|
||||
### [Getting Started](https://github.com/codecombat/codecombat/wiki/Dev-Setup:-General-Information)
|
||||
|
||||
We've made it easy to fork the project, run a simple script that'll install all the dependencies, and get a local copy of CodeCombat running right away on Mac, Linux, or Windows. See [the docs for details](https://github.com/codecombat/codecombat/wiki/Developer-environment).
|
||||
We've made it easy to fork the project, run a simple script that'll install all the dependencies, and get a local copy of CodeCombat running right away on [Mac](https://github.com/codecombat/codecombat/wiki/Dev-Setup:-Mac-and-Vagrant), [Linux](https://github.com/codecombat/codecombat/wiki/Dev-Setup:-Linux), or [Windows](https://github.com/codecombat/codecombat/wiki/Dev-Setup:-Windows). See [the docs for details](https://github.com/codecombat/codecombat/wiki/Dev-Setup:-General-Information).
|
||||
|
||||
### [Getting In Touch](https://github.com/codecombat/codecombat/wiki/Developer-organization)
|
||||
|
||||
Whether you're novice or pro, the CodeCombat team is ready to help you implement your ideas. Reach out on our forum, our issue tracker, or our developer chat room, or see the docs for [more on how to contribute](https://github.com/codecombat/codecombat/wiki/Developer-organization).
|
||||
Whether you're novice or pro, the CodeCombat team is ready to help you implement your ideas. Reach out on our [forum](http://discourse.codecombat.com), our [issue tracker](https://github.com/codecombat/codecombat/issues), or our [developer chat room](https://www.hipchat.com/g3plnOKqa), or see the docs for [more on how to contribute](https://github.com/codecombat/codecombat/wiki/Developer-organization).
|
||||
|
||||
### [License](https://github.com/codecombat/codecombat/blob/master/LICENSE)
|
||||
|
||||
|
@ -22,34 +21,58 @@ Whether you're novice or pro, the CodeCombat team is ready to help you implement
|
|||
|
||||
### [Join Us!](http://blog.codecombat.com/why-you-should-open-source-your-startup)
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
----------
|
||||
|
||||
[](http://www.google-melange.com/gsoc/homepage/google/gsoc2014)
|
||||
|
|
29
Vagrantfile
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
# Original content copyright (c) 2014 dpen2000 licensed under the MIT license
|
||||
|
||||
VAGRANTFILE_API_VERSION = "2"
|
||||
|
||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
|
||||
# A VMware compatible box is avaliable from:
|
||||
# https://github.com/spkane/vagrant-boxes/releases/download/v1.0.0/trusty64_vmware.box
|
||||
config.vm.box = "ubuntu/trusty64"
|
||||
|
||||
config.vm.network "forwarded_port", guest: 3000, host: 3000
|
||||
config.vm.network "forwarded_port", guest: 9485, host: 9485
|
||||
|
||||
config.vm.provision "shell", path: "scripts/vagrant/provision.sh"
|
||||
|
||||
config.vm.provider "virtualbox" do |v|
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
end
|
||||
|
||||
config.vm.provider "vmware_fusion" do |v|
|
||||
v.memory = 2048
|
||||
v.cpus = 2
|
||||
end
|
||||
|
||||
end
|
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-danger-active.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-danger-disabled.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-danger-pressed.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-primary-active.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-primary-disabled.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-primary-pressed.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.2 KiB |
BIN
app/assets/images/common/button-background-success-active.png
Normal file
After ![]() (image error) Size: 1.4 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-success-inactive.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-success-pressed.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-warning-active.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-warning-disabled.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
After ![]() (image error) Size: 1.3 KiB |
BIN
app/assets/images/common/button-background-warning-pressed.png
Normal file
After ![]() (image error) Size: 1.5 KiB |
BIN
app/assets/images/common/particles/bullet.png
Normal file
After ![]() (image error) Size: 662 B |
BIN
app/assets/images/common/particles/bullet2.png
Normal file
After ![]() (image error) Size: 1.8 KiB |
BIN
app/assets/images/common/particles/cloud.png
Normal file
After ![]() (image error) Size: 110 KiB |
BIN
app/assets/images/common/particles/cloud_small.png
Normal file
After ![]() (image error) Size: 11 KiB |
BIN
app/assets/images/common/particles/smoke.png
Normal file
After ![]() (image error) Size: 15 KiB |
BIN
app/assets/images/common/particles/star.png
Normal file
After ![]() (image error) Size: 5.5 KiB |
BIN
app/assets/images/level/footer_background.jpg
Normal file
After ![]() (image error) Size: 142 KiB |
BIN
app/assets/images/level/loading_bar_back.png
Normal file
After ![]() (image error) Size: 489 B |
BIN
app/assets/images/level/loading_bar_fill.png
Normal file
After ![]() (image error) Size: 622 B |
BIN
app/assets/images/level/loading_bar_rim.png
Normal file
After ![]() (image error) Size: 30 KiB |
Before ![]() (image error) Size: 168 KiB |
BIN
app/assets/images/level/loading_left_wing_1366.jpg
Normal file
After ![]() (image error) Size: 111 KiB |
BIN
app/assets/images/level/loading_left_wing_1920.jpg
Normal file
After ![]() (image error) Size: 174 KiB |
Before ![]() (image error) Size: 156 KiB |
BIN
app/assets/images/level/loading_right_wing_1366.jpg
Normal file
After ![]() (image error) Size: 107 KiB |
BIN
app/assets/images/level/loading_right_wing_1920.jpg
Normal file
After ![]() (image error) Size: 167 KiB |
Before ![]() (image error) Size: 2.4 KiB After ![]() (image error) Size: 3.3 KiB ![]() ![]() |
BIN
app/assets/images/level/popover_border_background.png
Normal file
After ![]() (image error) Size: 2.1 KiB |
BIN
app/assets/images/pages/about/cat_small.png
Normal file
After ![]() (image error) Size: 9 KiB |
BIN
app/assets/images/pages/about/jose_small.png
Normal file
After ![]() (image error) Size: 12 KiB |
BIN
app/assets/images/pages/about/josh_small.png
Normal file
After ![]() (image error) Size: 9.6 KiB |
BIN
app/assets/images/pages/about/oleg_small.png
Normal file
After ![]() (image error) Size: 9.3 KiB |
BIN
app/assets/images/pages/about/pavel_small.png
Normal file
After ![]() (image error) Size: 10 KiB |
BIN
app/assets/images/pages/base/logo_square_120.png
Normal file
After ![]() (image error) Size: 20 KiB |
Before ![]() (image error) Size: 22 KiB After ![]() (image error) Size: 44 KiB ![]() ![]() |
BIN
app/assets/images/pages/clans/dashboard_preview.png
Normal file
After ![]() (image error) Size: 192 KiB |
BIN
app/assets/images/pages/contribute/class_detail_adventurer.png
Normal file
After ![]() (image error) Size: 89 KiB |
BIN
app/assets/images/pages/contribute/class_detail_ambassador.png
Normal file
After ![]() (image error) Size: 81 KiB |
BIN
app/assets/images/pages/contribute/class_detail_archmage.png
Normal file
After ![]() (image error) Size: 69 KiB |
BIN
app/assets/images/pages/contribute/class_detail_artisan.png
Normal file
After ![]() (image error) Size: 84 KiB |
BIN
app/assets/images/pages/contribute/class_detail_diplomat.png
Normal file
After ![]() (image error) Size: 92 KiB |
BIN
app/assets/images/pages/contribute/class_detail_scribe.png
Normal file
After ![]() (image error) Size: 78 KiB |
BIN
app/assets/images/pages/contribute/tile_adventurer.png
Normal file
After ![]() (image error) Size: 89 KiB |
BIN
app/assets/images/pages/contribute/tile_ambassador.png
Normal file
After ![]() (image error) Size: 64 KiB |
BIN
app/assets/images/pages/contribute/tile_archmage.png
Normal file
After ![]() (image error) Size: 61 KiB |
BIN
app/assets/images/pages/contribute/tile_artisan.png
Normal file
After ![]() (image error) Size: 57 KiB |
BIN
app/assets/images/pages/contribute/tile_diplomat.png
Normal file
After ![]() (image error) Size: 75 KiB |
BIN
app/assets/images/pages/contribute/tile_scribe.png
Normal file
After ![]() (image error) Size: 75 KiB |
BIN
app/assets/images/pages/courses/101_info.png
Normal file
After ![]() (image error) Size: 710 KiB |
BIN
app/assets/images/pages/courses/102_info.png
Normal file
After ![]() (image error) Size: 349 KiB |
BIN
app/assets/images/pages/courses/103_info.png
Normal file
After ![]() (image error) Size: 509 KiB |
BIN
app/assets/images/pages/courses/104_info.png
Normal file
After ![]() (image error) Size: 250 KiB |
BIN
app/assets/images/pages/courses/105_info.png
Normal file
After ![]() (image error) Size: 274 KiB |
BIN
app/assets/images/pages/courses/106_info.png
Normal file
After ![]() (image error) Size: 373 KiB |
BIN
app/assets/images/pages/courses/107_info.png
Normal file
After ![]() (image error) Size: 219 KiB |
Before ![]() (image error) Size: 59 KiB |
BIN
app/assets/images/pages/game-menu/lock-processed.png
Normal file
After ![]() (image error) Size: 2.3 KiB |
BIN
app/assets/images/pages/modal/auth/extra-pane.png
Normal file
After ![]() (image error) Size: 27 KiB |
BIN
app/assets/images/pages/modal/auth/login-background.png
Normal file
After ![]() (image error) Size: 58 KiB |
BIN
app/assets/images/pages/modal/auth/signup-background.png
Normal file
After ![]() (image error) Size: 67 KiB |
BIN
app/assets/images/pages/play/campaign-banner.png
Normal file
After ![]() (image error) Size: 16 KiB |
BIN
app/assets/images/pages/play/level-banner-complete.png
Normal file
After ![]() (image error) Size: 5.1 KiB |
BIN
app/assets/images/pages/play/level-banner-started.png
Normal file
After ![]() (image error) Size: 5 KiB |
BIN
app/assets/images/pages/play/level-info-background.png
Normal file
After ![]() (image error) Size: 63 KiB |
BIN
app/assets/images/pages/play/level-info-status-spritesheet.png
Normal file
After ![]() (image error) Size: 12 KiB |
Before ![]() (image error) Size: 9.1 KiB |
Before ![]() (image error) Size: 2.1 KiB After ![]() (image error) Size: 2.3 KiB ![]() ![]() |
Before ![]() (image error) Size: 2.4 KiB After ![]() (image error) Size: 2.5 KiB ![]() ![]() |
BIN
app/assets/images/pages/play/level/modal/victory_hero.png
Normal file
After ![]() (image error) Size: 34 KiB |
Before ![]() (image error) Size: 15 KiB After ![]() (image error) Size: 82 KiB ![]() ![]() |
Before ![]() (image error) Size: 13 KiB |
After ![]() (image error) Size: 76 KiB |
BIN
app/assets/images/pages/play/level/modal/victory_modal_shelf.png
Normal file
After ![]() (image error) Size: 3.8 KiB |
Before ![]() (image error) Size: 9 KiB After ![]() (image error) Size: 17 KiB ![]() ![]() |
BIN
app/assets/images/pages/play/level/modal/xp_gems_parchment.png
Normal file
After ![]() (image error) Size: 10 KiB |
Before ![]() (image error) Size: 856 KiB |
Before ![]() (image error) Size: 15 KiB |
Before ![]() (image error) Size: 1.1 MiB |
Before ![]() (image error) Size: 4.2 KiB |