Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.
/ nim Public archive

First year Epitech project in C. Aims at reproducing the Nim game with an AI.

Notifications You must be signed in to change notification settings

mpellouin/nim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nim

Introduction

First year Epitech project in C. It aims at reproducing the Nim game with an AI. It is part of the Elementary programming in C module.

Usage

To try to beat the AI (it is really not a big deal), run make in order to compile the binary. Proceed to run ./matchstick line max with line and max being respectively the number of line of the pyramid and max the maximum amount of matches that a player can withdraw in one turn.

Mark

17.5/20

Details

No style errors.

  • Initial display of 4x4 board: 3/3
  • Bad Inputs: 12/12
  • Full games: 20/20
  • More full games: 4/4
  • AI effectiveness: 5/10

About

First year Epitech project in C. Aims at reproducing the Nim game with an AI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published