sam-at-work / legend-of-scala

A (sort of) educational game for learning Scala, hacked together in a week.

Home Page:http://sesa.org.nz/los

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo The Legend of Scala

A (sort of) educational game for learning Scala.

Overview

Legend of Scala is a mildly educational video game for learning Scala. The code is mildly terrible (it's my first time using Scala so please be gentle).

Running the Server

Play Framework needs to be installed.

  1. Run play in the server directory.

  2. Open the console to run :load scripts/generate_features.scala.

  3. run

Running the Client

SBT is bundled with the repo.

You must be using OSX or Linux!!

  1. git clone this repo git clone https://github.com/Dahaden/losclient.git

  2. Set the environment variable LOS_HOST to the server's address.

  3. Run ./start.sh in the client directory.

  4. Call var me = login(charName, token)

  5. Follow tutorial http://sesa.org.nz/los

Tutorial

There isn't really one, sorry :( I might get around to writing one if this idea is actually good.

Attribution

Logo by Henry de Chabert

Monster faces from http://charas-project.net/

Item icons adapted from http://www.planetminecraft.com/texture_pack/-pixbits-texture-pack-frenden-inspired-and-approved-texture-pack/

Dragon from http://opengameart.org/content/dragon-1

About

A (sort of) educational game for learning Scala, hacked together in a week.

http://sesa.org.nz/los

License:Do What The F*ck You Want To Public License


Languages

Language:Scala 86.0%Language:Python 11.7%Language:JavaScript 1.1%Language:HTML 0.8%Language:CSS 0.3%Language:Shell 0.1%