Coder Social home page Coder Social logo

bymayanksingh / connect4 Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 26.0 14.87 MB

๐ŸŽฎ It is a two-player connection game in which the players first choose a color and then take turns dropping one colored disc from the top into a seven-column, six-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column, user wins by forming row of four of same color

License: MIT License

Python 99.85% Shell 0.15%
board-game connect-four numpy pygame python

connect4's Introduction

Hey ๐Ÿ‘‹ I'm Mayank Singh

Senior Software Engineer @ IDfy (3+ years experienced)!

  • ๐Ÿ“œ I've worked with Crio.Do as a Technical Intern & Software Development Extern @ Crio/Jumbotail as a part of Crio Winter of Doing

  • ๐Ÿฅ I've worked with Innovaccer as a SDE Intern

  • ๐Ÿ”ญ I've worked with PyBites as an Open Source Developer in the project questionnare-api

  • ๐ŸŽฎ I've worked with KWoC as an Open Source Mentor with my project connect4 and helped 30+ students get into Open Source development.

  • ๐ŸŽจ I've worked as a designer at OSDC/design for the session 2019-2020.

  • ๐ŸŒฑ Iโ€™m currently learning aboud Cloud

  • ๐Ÿ‘จโ€๐Ÿ’ป Find me on linkedin/bymayanksingh

  • ๐Ÿ’ฌ Ask me about Python, Elixir, JavaScript, Node, Django, C++, React, Phoenix Framework

  • ๐Ÿ“ซ How to reach me [email protected]

  • ๐Ÿ“„ Find my updated Resume

  • โšก Fun fact I love Pink Floyd !

Connect with me:

bymayanksingh Twitter

bymayanksingh Linkedin

https://www.instagram.com/mayanksingh081/ Instagram

https://www.hackerrank.com/mayanksingh01 Hackerrank

https://leetcode.com/bymayanksingh/ Leetcode

Languages and Tools:

C C++ JavaScript Python HTML5 CSS3 React Bootstrap Material UI NodeJS Express Mongo DB MySQL PostgreSQL Heroku

connect4's People

Contributors

agarwalshivani23 avatar ashiscs avatar bymayanksingh avatar cypre55 avatar deepsourcebot avatar komalkalyan avatar satvinder31415 avatar shardul555 avatar smithandrewl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

connect4's Issues

Implement new game window

Window that can

  • act as an entry point for users to start the game
  • take names from player 1 and player 2
  • after the game is either over or the game draws, then this window will be shown and users can restart game from here itself. (thus solving issue #5 )

Modify readme to mention about game features.

make a new features section.

which lists all of the following:

  • two player game
  • supports undo operation
  • supports interactive game sounds
  • ability to play with computer AI (currently in development phase)
  • multiplayer on local network using sockets. (in development phase)
  • ability to customize game theme. (in development phase)
  • is cross platform Linux, Windows, Mac (in development phase)

More than 2 players can play the game at once

More than 2 players can play the game at the same time with the same rules.In other words, the number of players is also generalized.For example, there may be 3 players red,blue and green each aiming to achieve 4 in a row on the same board.

Refactor Codebase.

  • Use OOP Principles.
  • Improve modularity.
  • Move all the game config in config.py
  • Follow DRY approach.
  • Write Comments by following PEP guide.

Implement Game AI.

Currently only two human users can play the game at once, design game AI for human vs computer experience, Use

  • Min Max Algorithm.

Bug in game:undo

There is some issue in the code of game:undo.
Test case: Upon starting the game,play 3 moves and then press Ctrl+Z twice. Firstly only one disc is removed when it should have been 2 and secondly the turn is of the wrong person.
This issue can be further exploited in lots of ways to make theoretically impossible game configurations.
connect4-e1

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.