Questions tagged [snake-game]

Snake is a video game in which the player turns the head of the snake as it moves around the screen, trying to avoid colliding with the snake's body or running out of bounds.

Filter by
Sorted by
Tagged with
24
votes
1answer
47k views

Snake game using PyGame

I wrote a simple Python snake game which is about 250 lines of code. Can someone give me some advice on how I can refactor/make it better? game.py ...
6
votes
1answer
259 views

Snake console game in C++

I reviewed this question to a snake game console implementation: My first C++ game (snake console game) I enjoyed refactoring this code and presenting a solution using more C++ features/classes. I ...
39
votes
2answers
427k views

Snake game in C++

This is my version of the Snake game, written in C++. How could it be improved, and what general advice would be useful for future projects? ...
11
votes
1answer
211 views

Snake on a Plane

My code uses a canvas element to create a live snake game on a plane! ...
5
votes
1answer
151 views

3D 1st Person Snake Game #2

This is an iterative review of this question: 3D 1st Person Snake Game #1 The next iteration can be found here: 3D 1st Person Snake Game #3 Here is a snippet of the code: ...
3
votes
1answer
772 views

HTML5 Snake Game

This is the first version of my first HTML5 game. Beyond the standard features, I've added a high scores board which uses local storage to keep track of the scores. You can move the snake with the ...
28
votes
4answers
4k views

Snake Game in C#

Recently, I have been trying to learn SOLID principles. I learn the best through criticism. I made this snake game in Unity with C#, where I put my current understanding of SOLID principles to test. ...
11
votes
3answers
2k views

My first C++ game (snake console game)

I finally finished the code for a snake game I was working on. I would like it if you were to give me some advice as to things that can be improved. ...
4
votes
0answers
871 views

Multithreaded Excel + VBScript Timer: Snake Game Demo

Multithreaded Excel + VBScript Timer After reviewing these post: Snake in Excel in… VBA? and Drawing a snake using arrow keys in Excel using VBA, I decided to work on creating a VBA Timer. The ...
20
votes
1answer
17k views

Snake in Excel in… VBA?

snake-game is a game where you control a snake in an enclosed square without running into the walls or your own body. The snake grows when you run into whatever item you are supposed to run into. My ...
14
votes
1answer
208 views

Ncurses Snake game

I decided to write a little snake game in c++ to practice and as an opportunity to learn ncurses. It turned out to be much bigger than I anticipated but since I've never really written anything big, I'...
8
votes
2answers
544 views

C++ Snake game using Qt-framework

I made a QT version of "Snake console game in C++" using Qt Creator 4.9.0 on Windows 7: I would like to know what can be improved, focused on the QT stuff since im new to it. I seperated the program ...
8
votes
3answers
253 views

SFML snake game in C++

I made a snake game in sfml and i'm kind of proud of the code's structure, but proud doesn't mean it's good, so i'm putting it here so that if there is something that could be bettered, you would know....
5
votes
1answer
1k views

Simple Snake Game

I was working on this game for while and I have made it for education purposes by using SFML. The game works fine but I would like to know how I can improve it. ...
2
votes
1answer
497 views

Simple Snake Game - followup

Based on the previous question, I have implemented all suggestions. Also, I added new features to the game. Summary of improvements: Implemented smooth movements to snake instead of tile movements ...
7
votes
1answer
105 views

Improved snake game in SFML (C++)

This is the improved code of a question I asked some days ago. main.cpp ...
6
votes
1answer
706 views

Python! (Snake)

This is now an Iterative Review. Next Iteration Nowhere near a full game yet. Just a basic overview and initialisation of a Snake() class. Thoughts? ...
6
votes
1answer
144 views

3D 1st Person Snake Game #3

Final iteration of an iterative review. The previous iteration is here: 3D 1st Person Snake Game #2 Note: For the snippet, click run, "Full page", purposely lose, and then type r. Here is the ...
5
votes
3answers
312 views

Snake is dead. Long live snake

This is an iterative review. Previous Iteration My snake now moves and grows and successfully kills itself. Eventually, the game board will handle state and things like the list of fatal coordinates ...
3
votes
2answers
2k views

First game of Snake

I'm making baby steps in Java programming and I just ended coding basic game: Snake. Could you share with me what is needed to improve in this code? What about OOP here? GameBoard.java ...
2
votes
1answer
376 views

3D 1st Person Snake Game #1

Snake on a plane 2.0 This is the first iteration of an iterative review. The next iteration is found here: 3D 1st Person Snake Game #2 When I figure out how to add wings, this snake is going to have ...
2
votes
1answer
798 views

Snake in Python Pygame

I just now got around to implementing a full snake game in Pygame. The player can move his snake with the arrow keys and as in the original, the snake continues to move in the direction of the last ...
1
vote
0answers
284 views

Drawing a snake using arrow keys in Excel using VBA

Since a few days I am trying to make a simple snake game with VBA. So far, I have a moving square, that listens to the arrow commands of the keyboard. (Press Home to break it). Something like this: ...