Giter Site home page Giter Site logo

cslime's Introduction

CSlime
======

This is a clone of the (once) popular game 'slime voleyball', see:
	http://www.slimeathlete.com/game.php?game=slime_volleyball_multi .
The original source (in Java) is available at 
	http://www.maths.tcd.ie/~horkana/work/slime.html
This version was done from scratch and is (hopefully) cleaner, more modular and
easily extensible/modifiable. In particular, the back-end and the graphics are
in separate modules.
The aim of this project is to develop AI algorithms and (eventually) outperform
humans.

Dependecies
-----------

You must have SDL (1.2) and SDL_gfx.

Game play
---------

Press 'p' to pause/unpause
Press ESC or 'q' to exit 

### Player 1 ###

Control the slime with

```
#!txt

 w
asd
```

Press left shift to switch betwteen manual and automatic.

### Player 2 ###

Control the slime with arrows
Press the keypad's 'enter' to switch betwteen manual and automatic.

Game physics
------------

There are two collision models implemented by the game module 'cslime.c'. The
first (oblique_collision) is a more realistic model. The second is borrowed from
the original game (original_collision). Currently the collision between the ball
and the player uses the second model, as this makes for a nicer gameplay.

Documentation
-------------

At the moment, the code is pretty much undocumented, sorry for that.

cslime's People

Contributors

jcarrano avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.