JAVA to achieve the classic "snake battle" game (JAVA little bamboo)

preface Greedy snake (also known as greedy snake) game is a leisure puzzle game with multi platform versions such as PC and mobile phone. Simple and playable. The game makes the snake longer and longer by controlling the direction of the snake's head to eat. This program is through java swing to realize the game "snake battle". Mai ...

Posted by aspbyte on Sun, 23 Jan 2022 08:13:00 +0100

Here comes the squid game. Now let's start. Let's see what level you've passed.

Here comes the squid game. Now let's start. Let's see what level you've passed. Without the aid of IDE, see whether your human flesh compiler can compile the correct results. Scala-like functions fun hello() = { println("Hello, World") } hello() a). Does not compile b). Prints "Hello, World" c). Nothing d). Something el ...

Posted by TRUSTINWEB on Tue, 18 Jan 2022 14:36:33 +0100

โ˜€๏ธ Explosive liver wrote a real-time combat game Demo similar to the Royal war all weekend! More than 20000 word game production process + analysis! [recommended collection and learning]

๐Ÿ“ข Blog home page: https://blog.csdn.net/zhangay1998๐Ÿ“ข Welcome to praise ๐Ÿ‘ Collection โญ Leaving a message. ๐Ÿ“ Please correct any errors!๐Ÿ“ข This article was originally written by little Y, who knocked the code blankly, and was first launched in CSDN ๐Ÿ™‰๐Ÿ“ข The future is long, and it is worth our efforts to go to a better life โœจ ๐Ÿ“ข ...

Posted by activeradio on Mon, 17 Jan 2022 13:33:35 +0100

pygame implementation of ball dropping Game 1

Game content: a ball falls on the screen and moves through the mouse. If the underground wood block is connected, points will be added, otherwise one life will be subtracted, and the game will end when three lives are used up. Lead bag Introduce the corresponding package and write a printed text as before import sys, random, pygame from pyg ...

Posted by nhan on Sun, 16 Jan 2022 08:41:24 +0100

Python programming from introduction to practice project 1 -- alien invasion

preface First of all, the blogger taught himself the theoretical knowledge of the first 10 chapters of python programming from introduction to practice. He thought he needed to do some projects to consolidate and test his self-study achievements, so he chose the alien invasion project to practice. The article is only used as my study notes i ...

Posted by shmeeg on Sat, 15 Jan 2022 08:41:00 +0100

Random number, time stamp, number guessing game

random number The function generated by random number is rand(), which is in the standard library, so we need to add its header file < stdlib h> Error demonstration!!! #include <stdio.h> #include <stdlib.h> int main() { int ret; ret=rand(); printf("%d\n",ret); return 0; } In this way, the simplest random number is gene ...

Posted by andrewburgess on Fri, 14 Jan 2022 02:04:55 +0100

vue new year game - new year beast battle, happy New Year (online experience)

Game address: https://heyongsheng.github.io...Development language: vueRunning platform: Chromegitee address: https://gitee.com/ihope_top/n...github address: https://github.com/heyongshen...The game is open source. You are welcome to experience it. You can also modify it for the company's annual meeting gamesprefaceIt's a new year for xdm nugge ...

Posted by plasko on Tue, 11 Jan 2022 05:35:11 +0100

Boring weekend, write a minesweeping game in Java

It's boring at the weekend. I wrote a minesweeping program in Java. Speaking of it, it should be fun to write it at school. After all, it's fun to implement a small game by myself. To be honest, the core thing in the minesweeping program can only trigger the step of updating data when clicking.Swing is out of date, but fun won't be out of date. ...

Posted by lihman on Tue, 11 Jan 2022 03:24:49 +0100

How good is AI minesweeping? Other countries have come to seek teachers to learn skills (with a complete course)

Above hello everyone! I'm classmate pear! I hope you can support me! ha-ha To thank everyone who cares about me: ๐Ÿ’“ The project source code of each article is shared free of charge ๐Ÿ’“ See the end of the text! Many functions of csdn are still under research, and it's no wonder that Xiaobian's writing is not good. He will slowly improve ...

Posted by dc_jt on Sat, 08 Jan 2022 03:19:27 +0100

Brainless writing of tic tac toe chess game in c language

At the end of freshman year, I had nothing to do, so I had a whim about whether I could create a simple symbolic game without char character type. Also because I am not a computer major, one of the c language lab assignments in the first semester was to let us play tic tac toe chess by ourselves. At that time, many functions were used for splic ...

Posted by BAM1979 on Wed, 05 Jan 2022 14:29:23 +0100