Giter Club home page Giter Club logo

dominoes2's Introduction

Domino made-with-C Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

Dominoes

This is a dominoes single-player played in the command line interface. It is possible to play with up to three bots and you can even let four bots play to visualize the functionalities of the game.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

This was a project I developed during my first year of unniversity when I was learning the C programming language, so it includes quite some beginner errors. In most cases, when learning a new programming language, some of the easiest programs to make are just simple games, so in this case I chose dominoes. As a beginner developer, I did not include any kind of GUI, so this is a software that runs in the command line. It is a simple dominoes game for a single player to play against bots.

Built With

Getting Started

I'm pretty sure there are way better dominoes games out there, but if in any case you need to code a dominoes game in C or want to practice your programming skills, feel free to use this one.

Prerequisites

  1. You will need a C compiler to compile this project, you can get GCC.

Installation

  1. Clone the repo
git clone https://github.com/Shunya-sama/Dominoes.git
  1. Compile the files (make sure you are in the right directory)
gcc -c main.c game.c move.c player.c questions.c random.c sleep.c stack.c table.c tile.c
  1. Create the executable file
gcc -g -o Dominoes main.o game.o move.o player.o questions.o random.o sleep.o stack.o table.o tile.o

Usage

After following the installation procedures you will obtain an executable file. To run it you only need to execute it.

Settings

You will be asked for the number of players you want to have (from one to four), simply type the number and press enter. You will also have to choose if there will be a human player, in this case you will have to answer yes if you want to play against the bots, or answer no to let the bots play by themselves and analyze the functionalities of the game. You can also activate omniscience to see at all times the tiles owned by every single player.

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project

  2. Create your Feature Branch (git checkout -b FEATURE/#3-Amazing-Feature)

  3. Commit your Changes (git commit -m 'Add some Amazing Feature')

  4. Push to the Branch (git push origin FEATURE/#3-Amazing-Feature)

  5. Open a Pull Request

License

Distributed under the GNU General Public License. See LICENSE for more information.

Contact

Victor Luque - @ItsShunya - Shunya#1624 - [email protected]

Project Link: https://github.com/Shunya-sama/Dominoes

Acknowledgements

dominoes2's People

Contributors

itsshunya 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.