Giter Site home page Giter Site logo

jatinmandav / gaming-in-python Goto Github PK

View Code? Open in Web Editor NEW
104.0 104.0 81.0 16.86 MB

Code to all the Games I made using Python Programming Language

Home Page: https://jatinmandav.wordpress.com

Python 100.00%
angry-birds chain-reaction gaming pong pygame pygame-application python space-invaders

gaming-in-python's People

Contributors

garimaarora1 avatar jatinmandav avatar prathimacode-hub avatar princeprag avatar sharma-saurav avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gaming-in-python's Issues

Error in Minesweeper.py

Showing Type Error for a few number of lines in Minesweeper.py
TypeError: 'float' object cannot be interpreted as an integer

End of game is not handled

After 1 player wins the loop is still running and finally ends in error. The following errors was obtained

Traceback (most recent call last):
File "C:/Users/chainreaction.py", line 243, in
gameLoop()
File "C:/Users/chainreaction.py", line 220, in gameLoop
addAtom(i, j, players[currentPlayer])
File "C:/Users/chainreaction.py", line 137, in addAtom
overFlow(grid[i][j], color)
File "C:/Users/chainreaction.py", line 147, in overFlow
overFlow(cell.neighbors[m], color)
File "C:/Users/chainreaction.py", line 147, in overFlow
overFlow(cell.neighbors[m], color)
File "C:/Users/chainreaction.py", line 147, in overFlow
overFlow(cell.neighbors[m], color)
[Previous line repeated 1018 more times]
File "C:/Users/chainreaction.py", line 141, in overFlow
showPresentGrid()
File "C:/Users/chainreaction.py", line 104, in showPresentGrid
for i in range(cols):
RecursionError: maximum recursion depth exceeded in comparison

Slice value error

When a player tries to place an orb in the grid it return index error which can be fixed by typecasting the index values to integer.

In the following lines the changes were required:
147,148,231

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.