No description
Find a file
Kristoffer Grönlund 1abc8393b7
Merge pull request #3 from superherointj/patch-1
Fixing CI project name to krug/tinyhorse
2019-12-12 14:37:10 +01:00
.circleci fixed image name 2019-12-11 22:57:18 -03:00
client Removed partial method and try, it compiles now! 2019-12-11 10:00:08 -03:00
data apple eating 2018-01-19 01:40:44 +01:00
gamecore Experiment with using optional return for ArrayUtils.find_if rather than error 2018-02-06 06:39:50 +01:00
sdl Updated MaybePointer to NullablePointer 2019-12-11 09:54:27 -03:00
server Removed partial method and try, it compiles now! 2019-12-11 10:00:08 -03:00
.gitignore Initial commit 2018-01-14 11:27:57 +01:00
Dockerfile CI added 2019-12-11 22:44:35 -03:00
LICENSE Basic functionality 2018-01-15 00:13:55 +01:00
Makefile CI added 2019-12-11 22:44:35 -03:00
README.md Fixing CI project name to krug/tinyhorse 2019-12-12 09:21:50 -03:00

tiny horse

CircleCI

"screenshot"

A multiplayer "game" written as a small example of pony.

Requirements:

  • ponyc >= 0.21
  • SDL2
  • SDL2_image.

Build instructions

  • make
  • build/server [server-ip] [server-port]
  • build/client [server-ip] [server-port]

Note: Currently the "client" application requires having the "data" folder (where pictures are stored) available locally. Suggestion: Either copy or symlink the data folder to build folder where the binary files are compiled into.

Action

  • Connect to the game server.
  • Game is a single screen showing a top-down green field of grass.
  • Each player controls a horse that can walk around using arrow keys.
  • Others can connect to same server, everyone sees everyone.
  • Randomly, once in a while, an apple will appear on the play field.
  • Walk over an apple to collect it.
  • The number of collected apples will appear above the horses' head.