Skip to content

Commit cbb36ed

Browse files
author
dkuffner
committed
Merge branch 'master' of git://github.com/scalatron/scalatron
Conflicts: Scalatron/webui/client/Tutorial.js
2 parents 29e9130 + 09e3af3 commit cbb36ed

37 files changed

+762
-319
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,17 @@ dist/
99
users/
1010
doc/html/
1111
devdoc/html/
12+
Scalatron/bin/
1213
Scalatron/lib/
1314
Scalatron/out/
15+
Scalatron/users/
1416
Scalatron/src/META-INF/
17+
ScalatronCLI/bin/
1518
ScalatronCLI/out/
1619
ScalatronCLI/lib/
1720
ScalatronCLI/src/META-INF/
21+
ScalaMarkdown/bin/
22+
ScalaMarkdown/lib/
1823
ScalaMarkdown/out/
1924
ScalaMarkdown/src/META-INF/
2025
__MACOSX

README.md

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,13 @@
11
Scalatron - Learn Scala With Friends
22
=========
33

4-
This is the source code for Scalatron, a competitive multi-player programming game in which coders pit bot programs
4+
This is the source code for Scalatron, a multi-player programming game in which coders pit bot programs
55
(written in Scala) against each other. It is an educational resource for groups of programmers or individuals that
66
want to learn more about the Scala programming language or want to hone their Scala programming skills.
77

8-
Follow Scalatron on Twitter at [@scalatron](http://twitter.com/scalatron).
8+
For more information, [visit the Scalatron web site here on Github](http://scalatron.github.com).
99

10-
11-
## How to Run
12-
13-
If you want to run Scalatron to play the game or to run a workshop with friends, simply [download the latest version](http://github.com/scalatron/scalatron/downloads) - you do not need the source code. Unzip the downloaded file into a local directory, then look for the Readme.txt file to get started. Have fun!
14-
15-
16-
## How to Build
17-
18-
If you want to get the source code and build Scalatron yourself, [download the sources of the 'master' branch](http://github.com/scalatron/scalatron/zipball/master) and build them with [SBT](http://github.com/harrah/xsbt). Once you have SBT installed, switch to the directory where you downloaded the Scalatron sources (the directory that contains this the `build.sbt` file) and run
19-
20-
sbt dist
21-
22-
This will generate a new directory called `dist` which contains the same content as the regular distribution. Now `cd` into /dist/bin and run `java -jar Scalatron.jar`.
23-
24-
25-
## Contributing
26-
27-
[Fork Scalatron here on github](https://github.com/scalatron/scalatron/fork) and send pull requests.
28-
Bring your own ideas or check out the [list of open issues](https://github.com/scalatron/scalatron/issues?state=open).
29-
Before embarking on something major, you can [contact the maintainer](mailto:[email protected]) and ask for feedback or tips on where to get started.
10+
To stay current, follow Scalatron on Twitter at [@scalatron](http://twitter.com/scalatron).
3011

3112

3213
## License

Scalatron/License.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SCALATRON - Learn Scala With Friends
2-
http://scalatron.wordpress.com - Twitter: @scalatron / #scalatron
2+
http://scalatron.github.com - Twitter: @scalatron - scalatron@hotmail.com
33

44

55
# The incorporated parts of this work...
@@ -36,7 +36,7 @@ letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, Califor
3636
* Attribution - You must attribute the work in the manner specified by the author or
3737
licensor (but not in any way that suggests that they endorse you or your use of the work).
3838
You can do this by referencing Scalatron as the origin of your materials and by linking to
39-
the Scalatron web page at http://scalatron.wordpress.com.
39+
the Scalatron web page at http://scalatron.github.com.
4040

4141

4242

Scalatron/Readme.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SCALATRON - Learn Scala With Friends
2-
http://scalatron.wordpress.com - Twitter: @scalatron / #scalatron
2+
http://scalatron.github.com - Twitter: @scalatron - scalatron@hotmail.com
33
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
44

55

@@ -18,7 +18,7 @@ in the public domain. Feel free to use, copy, and improve them!
1818

1919
## Quick Start
2020

21-
* download the Scalatron distribution, e.g. from http://scalatron.wordpress.com
21+
* download the Scalatron distribution, e.g. from http://scalatron.github.com
2222
* unzip the compressed file to a local directory, e.g. `/Scalatron`
2323
* launch the game server by double-clicking the application, e.g. at `Scalatron/bin/Scalatron.jar`
2424
* this should automatically open a browser and point it to e.g. `http://localhost:8080`
@@ -54,7 +54,13 @@ in the public domain. Feel free to use, copy, and improve them!
5454

5555
## Version History
5656

57-
### Version 0.9.9 -- 2012-04-26
57+
### Version 0.9.9.3 -- 2012-05-02
58+
59+
* new opcodes: "MarkCell()", "DrawLine()"; see Scalatron Protocol docs for details. Thanks Joachim Hofer, @johofer!
60+
* name duplication bug fixed; docs for "React()" opcode fixed. Also thanks to @johofer!
61+
62+
63+
### Version 0.9.9.0 - 0.9.9.2 -- 2012-04-26
5864

5965
* restructured for move to github
6066
* bot processing ported from parallel collections to Akka
-40.2 KB
Binary file not shown.

Scalatron/devdoc/markdown/Scalatron APIs.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
SCALATRON - Learn Scala With Friends
2-
http://scalatron.wordpress.com - Twitter: @scalatron / #scalatron
2+
http://scalatron.github.com - Twitter: @scalatron - scalatron@hotmail.com
33
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
44

55
Developer Documentation - Scalatron APIs
6-
Version 0.9.9 -- updated 2012-04-26
6+
Version 0.9.9 -- updated 2012-05-01
77

88

99

@@ -449,6 +449,8 @@ Response JSON example:
449449
### Update Source Files
450450

451451
Updates the source code files in the user's workspace on the server.
452+
Optionally creates a backup version of the source files currently in the workspace before overwriting them
453+
with the uploaded source files.
452454

453455
* URL: /api/users/{user}/sources
454456
* Method: PUT
@@ -467,7 +469,9 @@ Request JSON example:
467469
[
468470
{ "filename" : "Bot.scala", "code" : "class ControlFunctionFactory { ... }" },
469471
{ "filename" : "Util.scala", "code" : "class View { ... }" }
470-
]
472+
],
473+
"versionPolicy" : "ifDifferent", // or: "always", "never"
474+
"versionLabel" : "before Build and Publish into Tournament"
471475
}
472476

473477
Comments:

Scalatron/devdoc/markdown/Scalatron Contributor Guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
SCALATRON - Learn Scala With Friends
2-
http://scalatron.wordpress.com - Twitter: @scalatron / #scalatron
2+
http://scalatron.github.com - Twitter: @scalatron - scalatron@hotmail.com
33
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
44

55
Contributor Documentation
6-
Version 0.9.9 -- updated 2012-04-26
6+
Version 0.9.9 -- updated 2012-05-01
77

88

99

Scalatron/doc/markdown/Scalatron CLI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
SCALATRON - Learn Scala With Friends
2-
http://scalatron.wordpress.com - Twitter: @scalatron / #scalatron
2+
http://scalatron.github.com - Twitter: @scalatron - scalatron@hotmail.com
33
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
44

55
Organizer Documentation - Scalatron CLI (Command Line Interface)
6-
Version 0.9.9 -- updated 2012-04-26
6+
Version 0.9.9 -- updated 2012-05-01
77

88

99

Scalatron/doc/markdown/Scalatron Game Rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
SCALATRON - Learn Scala With Friends
2-
http://scalatron.wordpress.com - Twitter: @scalatron / #scalatron
2+
http://scalatron.github.com - Twitter: @scalatron - scalatron@hotmail.com
33
This work is licensed under the Creative Commons Attribution 3.0 Unported License.
44

55
Participant Documentation - Scalatron Game Rules
6-
Version 0.9.9 -- updated 2012-04-26
6+
Version 0.9.9 -- updated 2012-05-01
77

88

99

0 commit comments

Comments
 (0)