Giter Club home page Giter Club logo

kivy-game's Introduction

Tic-Tac-Toe game made with Python and Kivy

This is a simple Kivy GUI Tic-Tac-Toe game made entirely by me. This is a personal project and I encourage anyone to try the app out if they want. This game has a login system and supports multiple player accounts. It currently allows you to play against the computer and computer's moves are totally random with no complex or smart algorithms implemented. But I created the game_ai.py all by myself and I will really appreciate if anyone can take a look at its source code. Though, no implementations of a smart algorithm, the game_ai.py has some decent code that can figure out which tiles on the board are empty and pick a random tile and also place a "X" there. It also detects when someone has won the game.

Features

  • Multi Player support.
  • Manage individual players from a dedicated screen in the app itself.
  • Reset game info.
  • Currently, the computer can only make completely random moves with no idea how to play the game. But still my program does keep track of empty spaces and only place marks on those screen. The game is also good at detecting if anyone has won, lost or if all the places are filled (therefore the match tied).
  • Shows red or green color on buttons that won the match (red if the Ai wins and green if the player wins)
  • Live updating screens: The Highscores Page and the Manage Players page. The highscores page will now read data from the certain game files and will show the latest highscores of each player, all without closing the app. This is achieved by reading data whenever the button to go to the Highscores Page is clicked. The Manage Players page work in the same way.
  • Tighter integration of email with its particular password, this fixing certain app signing in functionality.

Things not recommended

When running the app for the first time, two new .txt files will be created. It's really suggested to not mess with those files as deleting any of them or both will result in lost data in the game or maybe even the game breaking. The Game Sounds folder is not to be touched as well. As removing this will remove the sounds from the game.

To get the game

  • The first version of this game has been released. To get the exe file please get it from the Releases page.
  • For those who want to build the game right from the source code just follow the instructions from the requirements folder.

How to play

To play, at first sign up with whatever info you like. The game still doesn't allow you to play if you don't sign up. The game also features a decently functioning Settings that can handle a lot of low level stuff around the game like resetting the game, managing and deleting players from the game, viewing highscores.

kivy-game's People

Contributors

arafat-ar13 avatar dependabot[bot] avatar

Stargazers

Basic Hacker 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.