Skip to content

Keesayy/Malawi_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Malawi_Game

School project ZZ1 ISIMA by group of 3 made in 2.5 days.
The goal was to implement an atypic board game as well as the minmax algorithm so you can play when you have no friends.

Features

  • Play through SDL interface
  • Minmax algorithm

Malawi

image

Our Implementation

Demo (3x time speed)

video

How to play ?

  • make and then ./main
  • Each player starts with 6 pawns having 2 marbles each.
  • Move a pawn : Horizontally or vertically the number of marbles of the pawn when no obstacles in sight.
  • Split marbles : A pawn loses all of his marbles and give each one of them to his favorite brothers, if he has 6 marbles we lose 1 marble.
  • Attack a pawn : Same as move except you do not move and the opponent pawn loses all his marbles.
  • To win : A pawn is on the opponent back row unnaked and cannot be attacked or Opponent has no more marbles.
    Rules Source

Images

image image

About

SDL Interface + Minmax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published