Skip to content

Erlang implmentation of an old atari/board game called Survival

Notifications You must be signed in to change notification settings

Mixolyde/erlang-survival

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Survival in Erlang!

Erlang implementation of an old Task Force game called Survival

The player is an explorer who has crashed on an alien planet, and must cross a dangerous landscape to reach safe haven in a research station.

Game rules/details/inspiration

Completed

  • Rebar setup of application
  • Record structures and data in header file
  • Eunit tests for current functions and start/stop of FSM/App
  • Basic map data structure and validity tests
  • Status, Map and Map Legend displays
  • Simple interface client for playing from the shell
  • All combat, movement and turn mechanics

TODO

  • Initial weapon loadout choosing
  • Multi-player server and client
  • App/Super hierarchy
  • Event handler for tracking errors
  • Graphics
  • Advanced game modes
  • Options
  • Procedural map generation
  • color command line client
  • ANSI colors for map, legend
  • Web client
  • AI clients for MP testing

Roadmap

  • 0.1.0 Current work
  • 0.2.0 Basic game completely implemented with simple client
  • 0.3.0 Advanced game options implemented
  • 0.4.0 Advanced scenarios implemented
  • 1.0.0 Multiplayer with simple client
  • 1.2.0 Random map generation

Getting Started

  1. Get rebar, build it and replace the rebar that's in the repo
  2. Command line build and test: make clean compile eunit
  3. In the Erlang shell: cd("path/to/repo/directory/survival").
  4. code:add_path("ebin").
  5. Game = simple_client:start().
  6. simple_client:choose_direction(Game, 4).
  7. simple_client:quit(Game).

About

Erlang implmentation of an old atari/board game called Survival

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages