Skip to content

Sarctiann/TGE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

153 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TGE

[ Text | Terminal ] Game Engine

An attempt to create a simple text-based game engine, with the ability to run trough ssh. The general idea is to serve the engine and respond to the client with a menu to choose the game to play. TGE should handle a shared state between game/rooms.

Right now we are using luabox which is really simple and easy to use. But more than once we needed to use luv directly to handle the async io. So we possible reimplement the only the parts we need from luabox.


We are currently implementing the engine to work with regular font families (that are half as wide as they are tall) so a symmetrical unit is represented by pairs of characters (visually a square).

We cannot rule out the option of using orthogonal fonts (where each character is equal in width and height). But it's a feature we haven't addressed yet.

Resources

Run it

  1. luarocks init
  2. luarocks install --only-deps tge-dev-1.rockspec
  3. ./lua examples/main.lua or ./lua examples/tanky.lua

If the file tree has changed, you will need to run luarocks install --only-deps tge-dev-1.rockspec again to update the path.

About

An attempt to create a simple text-based game engine

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages