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.

20 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
84 views

Snake game in Python with tkinter

I created snake as my first program with GUI, I didn't learn OOP yet, so my program has no classes. I know that I should use comments, I am sorry. Short instruction: l - increase snake speed k - ...
4
votes
0answers
39 views

Python OpenGL snake

So I decided to dust off my Python and OpenGL knowledge and make a simple snake-like game. I will be really grateful for any critique or improvement. snake.py <...
4
votes
0answers
136 views

Classic Snake Game on console

I implemented a console version of the classic snake game. I wanted it to be portable but some of the functions like setting console position and _kbhit weren't ...
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 ...
3
votes
0answers
74 views

Console Snake Game

I am beginning to learn rust and I created this snake game for practice. I am looking for some feedback on my code. main.rs ...
3
votes
0answers
133 views

Simple C++ Console Snake Game

I'm a beginner programmer and i'm looking for interesting projects to improve my low skills. I decided to spend one evening on simple snake game in console. I made it with the help of YouTube tutorial....
3
votes
0answers
478 views

Snake in Haskell with Ncurses

I've created the Snake implementation in Haskell. User input and graphic is handled by the Ncurses library. The goal of this question is to get the feedback on what can I improve to make it more ...
3
votes
0answers
3k views

Snake Game using python and tkinter

I have written a Snake game using Python's Tkinter library. I am a beginner to programming. I learned some python alone and in school. However, most of what we did in school is algorithms/data ...
3
votes
0answers
444 views

HTML5 canvas Snake game

My most recent project is this simple Snake game, and I would like to know what you think of it and if you have any suggestions. ...
3
votes
0answers
190 views

Simple Snake Game - Follow-up 2

Based on the previous question, I have implemented all suggestions. Also, I worked a bit in this project to improve it. Summary of improvements: split the code into multiple files as .hpp and .cpp ...
2
votes
0answers
88 views

OpenGL C++ snake game clone

I've been learning OpenGL and C++ recently and thought I'd attempt to make a snake game. It would be amazing if you could take your time to read my code and give advice please. Please prepare yourself ...
2
votes
0answers
459 views

Battle-based snake game in tkinter

Disclaimer: This code is far from complete, I am aware of issues regarding my standards of naming, my lack of comments and readability, however I am encountering a large issue which is preventing me ...
2
votes
0answers
243 views

Which JavaScript snake-game implementation is better?

I was sort of bored and wondered how that Youtuber (Max Wihlborg) implemented his snake-game, so I went on and took a look at his code, and then I and edited his code. I made some minor changes, but ...
2
votes
0answers
500 views

C++ Snake Object-Oriented

So I've made a snake game with object-oriented approach. I would be glad if you could take a look at the code and give me any advices/tips/point out errors/etc. :) main.cpp: ...
2
votes
0answers
677 views

Online Snake v0.1 with Python-flask and socketio

What I am essentially doing is writing a snake game that everybody could play on the internet, broadcast their game if they like and so on. Now it looks like this, just websocket-based snake, no user ...
2
votes
1answer
910 views

JavaScript Snake game

I recently followed a tutorial on a JavaScript snake game. I tried to improve that game by adding bad fruit which will make your snakes tail incredibly long. ...
1
vote
0answers
56 views

Snake Game for Raspberry Pi Sense HAT written in Python

Goals learn Python improve problem-solving skills improve my coding style Hardware This code runs on a Raspberry Pi 3 Model B (Raspbian OS) in combination with the Sense HAT. The 8x8 LED-Matrix on ...
1
vote
0answers
160 views

Snake animation in Swing

I'm developing a simple Snake game in Java using Swing. So far I made the snake animation which is troubling me: when the snakes moves it seems like it starts to lag for no reason, but when I move it ...
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: ...
1
vote
0answers
132 views

Text-based Snake game on Window - follow-up 2

Previous question: Text-based Snake game on Window - follow-up Summary of improvements: Corrected the names of classes and members data Implemented Console class ...