Skip to content

GuillaumeMunsch/CECS-326-swim-mill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CECS-326-swim-mill

The purpose of this project is to create a river in which a fish is going to look for some pellets that are randomly dropped into the river.

The fish itself and each pellet are processes on their own. They are coordinated by the swim_mill process, which is the main one.

A graphical version is also available.

Version

1.0.0

Tech

Installation

Install it this way:

$ git clone https://github.com/LeZohan/CECS-326-swim-mill.git
$ cd CECS-326-swim-mill/
$ make

And launch it this way:

$ ./swim_mill

This will look like that:

Graphic part

The graphical part has been developped with the ncurses library which can be installed like this:

OS X (with Homebrew)
$ brew install ncurses

Once you've done this, compile the graphic part:

$ make graphic

And simply run it this way:

$ ./swim_mill graphic

It looks a bit prettier with the ncurses library:

You can customize the map size and the different process cycle times in the common/utils.h file !

Made with ♥ by Guillaume Munsch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published