All Projects → manerfan → python-game-snake

manerfan / python-game-snake

Licence: Apache-2.0 license
A Game-Snake version of AI to play Snake automatically.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-game-snake

Python.io
Snake game inspired from Slither.io but features a python instead of a snake. Made in Python 3
Stars: ✭ 15 (-50%)
Mutual labels:  pygame, snake
PygameWidgets
A module for use with Pygame. Includes fully customisable buttons, textboxes, sliders and many more, as well as the ability to create and run animations on these widgets.
Stars: ✭ 34 (+13.33%)
Mutual labels:  pygame
raylib-py
A Python binding for the great C library raylib.
Stars: ✭ 147 (+390%)
Mutual labels:  pygame
Arcade-CS-Games
Jeux pour l'arcade des CS Games
Stars: ✭ 18 (-40%)
Mutual labels:  pygame
connect4
🎮 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
Stars: ✭ 18 (-40%)
Mutual labels:  pygame
Chip8Python
A Super Chip 8 emulator written in Python
Stars: ✭ 65 (+116.67%)
Mutual labels:  pygame
PlaneWars
微信飞机大战 python pygame
Stars: ✭ 22 (-26.67%)
Mutual labels:  pygame
TerraCraft
Voxel Engine written in Python 3 + Pyglet.
Stars: ✭ 49 (+63.33%)
Mutual labels:  pygame
wxgame-snake
🐍 微信小程序游戏,贪吃蛇
Stars: ✭ 20 (-33.33%)
Mutual labels:  snake
ALIEN INVASION
A repository with game files being made with pygame
Stars: ✭ 35 (+16.67%)
Mutual labels:  pygame
Snake
A simple game built using Python Pygame Library
Stars: ✭ 17 (-43.33%)
Mutual labels:  snake
ConkyLuaMakerGUIv2
An interactive GUI to generate lua conky
Stars: ✭ 20 (-33.33%)
Mutual labels:  pygame
luma.emulator
Provides a series of pseudo-display devices which allow the luma.core components to be used without running a physical device.
Stars: ✭ 32 (+6.67%)
Mutual labels:  pygame
pygameweb
🎮🕸️ pygame.org website. Python, PostgreSQL, Flask, sqlalchemy, JS.
Stars: ✭ 94 (+213.33%)
Mutual labels:  pygame
snax86
A snake game written in x86 Assembly language for windows console
Stars: ✭ 21 (-30%)
Mutual labels:  snake
Conway-s-Game-of-life---Python
Conways game of life with pygame
Stars: ✭ 26 (-13.33%)
Mutual labels:  pygame
snake game
This is a simple implementation of the classic snake game in rust
Stars: ✭ 16 (-46.67%)
Mutual labels:  snake
AlphaZero-Renju
No description or website provided.
Stars: ✭ 17 (-43.33%)
Mutual labels:  pygame
carAI-Demo
使用浅层神经网络和遗传算法训练一个可以自动驾驶小车的Demo
Stars: ✭ 64 (+113.33%)
Mutual labels:  pygame
cljs-snake
Snake in 100 lines of ClojureScript using Reagent for a #TechTalk at UCT
Stars: ✭ 21 (-30%)
Mutual labels:  snake

python-game-snake

python-game-snake is a Snake Game including three path-searching-algorithm demos and one version of AI to play Snake automatically.

The project is implemented in Python3.6.

If you like it, Please give it a star, Thanks!

Require

You should have pygame module installed.

Usage

Get the source code.

git clone https://github.com/manerfan/python-game-snake.git
cd python-game-snake/src

Path Searching Algorithm Demos

DFS

python3 dfs_demo.py

DFS

BFS

python3 bfs_demo.py

BFS

A*

python3 a_star_demo.py

A*

Play Snake Automatically

Play Snake Automatically with A* Algorithm.

python3 snake_ai.py

snake

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].