Code Monkey home page Code Monkey logo

connect4's Introduction

Connect4 ๐Ÿช™

Table of contents ๐Ÿ“‘

Description ๐Ÿ“

The Connect4 is a personal project I did on my own during a study break.
Its purpose is to create in C a connect 4 game.
This project applies to the EPITECH Duo Stumper.

Usage โš”๏ธ

You can run the connect4 like this :

  • Play in real time :
./connect4
  • Play with prepared moves :
./connect4 < moves/win_vertical

Result ๐Ÿšฉ

The result of this project is a perfect Connect 4.
If you discover a problem or an error, don't hesitate to create an issue and report it to us as soon as possible.

Tests and code coverage

Unit tests were performed using criterion.
In this project, only the library code is covered. Unit tests are still to be performed, but a large part of the code is already covered.

You can compile the project and run the unit tests with this command :

make tests_run

Compilation ๐Ÿ› ๏ธ

You can compile the project with this command :

make

If you want clean the project, you can run this command :

make fclean

You can clean and compile the project with make re.

You can compile the unit tests with this command :

make unit_tests

Code mandatory ๐Ÿ“ฆ

  • You'll need to create a branch where you'll push your code. Once you've completed your tasks on this branch, we'll work together to merge it and check that everything works.
  • Every function you add must be code-style.
  • Before merging, you'll need to check that all unit tests pass by running make tests_run.
  • Each commit will contain [+] or [-] or [~] followed by a message
    • [+] : Add feature
    • [-] : Delete feature
    • [~] : Edit feature

Of course, in exceptional cases, we may depart from these rules.

What's next ? ๐Ÿš€

  • Add help section
  • Add a graphical visualization
  • Add github actions
  • Add a documentation for each function
  • Add unit tests on each piece of code

Contributors ๐Ÿ‘ค

This project was carried out alone by Nicolas TORO.

connect4's People

Contributors

toro-nicolas avatar

Watchers

 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.