All Projects → kingyuluk → Flappybird

kingyuluk / Flappybird

Licence: mit
基于Java基础类库编写的Flappy Bird

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Flappybird

Ml Games
Machine learning games. Use combination of genetic algorithms and neural networks to control the behaviour of in-game objects.
Stars: ✭ 247 (-4.26%)
Mutual labels:  game
Originsteamoverlaylauncher
An executable wrapper for Steam to make third-party launchers more convenient to use with a Steam Controller
Stars: ✭ 249 (-3.49%)
Mutual labels:  game
Cathook
Training Software for the game Team Fortress 2
Stars: ✭ 256 (-0.78%)
Mutual labels:  game
Gdevelop
🎮 GDevelop is an open-source, cross-platform game engine designed to be used by everyone.
Stars: ✭ 3,221 (+1148.45%)
Mutual labels:  game
Burningknight
C# branch of BK
Stars: ✭ 251 (-2.71%)
Mutual labels:  game
Socket.io
NodeJS《你画我猜》游戏
Stars: ✭ 255 (-1.16%)
Mutual labels:  game
Pygame Menu
Menu for pygame. Simple, lightweight and easy to use
Stars: ✭ 244 (-5.43%)
Mutual labels:  game
Ja2 Stracciatella
The continuation of the venerable JA2-Stracciatella project.
Stars: ✭ 258 (+0%)
Mutual labels:  game
Endless Sky
Space exploration, trading, and combat game.
Stars: ✭ 3,357 (+1201.16%)
Mutual labels:  game
Matchthreegame
A match-3 game in Unity (like Candy Crush and Bejeweled)
Stars: ✭ 255 (-1.16%)
Mutual labels:  game
Nothing
A simple platformer about nothing
Stars: ✭ 249 (-3.49%)
Mutual labels:  game
Flopnite Ue4
A remake of the popular battle royale game, Fortnite, made in Unreal Engine 4 and integrated with Amazon GameLift
Stars: ✭ 250 (-3.1%)
Mutual labels:  game
Massivedecks
A comedy party game for PC, mobile & chromecast.
Stars: ✭ 254 (-1.55%)
Mutual labels:  game
Deck Of Cards
Deck of Cards (old version)
Stars: ✭ 2,684 (+940.31%)
Mutual labels:  game
The Tale
Основной репозиторий проекта: сайт и логика игры
Stars: ✭ 256 (-0.78%)
Mutual labels:  game
Js Equality Game
The Worst Minesweeper 💣 Ever
Stars: ✭ 246 (-4.65%)
Mutual labels:  game
Landlord
斗地主
Stars: ✭ 250 (-3.1%)
Mutual labels:  game
Megaglest Source
MegaGlest real-time strategy game engine (cross-platform, 3-d)
Stars: ✭ 259 (+0.39%)
Mutual labels:  game
Coophordeshooter
C++ Coop Horde Third-person Shooter for Unreal Engine 4 (Udemy Project)
Stars: ✭ 257 (-0.39%)
Mutual labels:  game
Urde
Data interchange and engine re-implementation for games by Retro Studios | Mirror
Stars: ✭ 253 (-1.94%)
Mutual labels:  game

Flappy Bird

Overview

基于Java基础类库编写的Flappy Bird桌面平台版。

具备原版所有功能,相较原版加入了移动型水管、优化了难度梯度。

RL FlappyBird 基于本项目集成了Amazon的Deep Java Library (DJL),可以使用强化学习(DQN)训练Flappy Bird

How to play

  • 通过 java -jar FlappyBird.jar直接运行

  • 运行源码中的 App:main 方法

游戏使用空格键操作。

每局游戏随机刷新所有元素,小鸟受到重力作用会不断下坠,敲击空格键使小鸟振翅向上飞,游戏过程中需要玩家控制小鸟不断飞行,并注意躲避随机生成的水管,每飞过一对水管就会得分,飞行过程中如果撞到水管或掉落在地则游戏结束。

Preview

  • Game ready

image

  • Game start

image

  • Game over

image

Notes

  • 文本编码格式为UTF-8,若注释出现乱码请修改编译器的文本编码格式

  • sun包在不同操作系统和不同版本的JDK中可能发生变化,因此无法确保工作在所有JAVA平台上

  • 图片与音效资源皆来源于网络,仅供学习交流

Package Contents

  • com.kingyu.flappybird.app 游戏主体

  • com.kingyu.flappybird.component 游戏的组件

  • com.kingyu.flappybird.util 工具包

Change Log

v1.2.2 - July 12, 2020

  • 移除了计时器,优化了游戏的记分方式,现在记分更准确了

v1.2.1 - July 12, 2020

  • 使用AudioClip类的方法播放连续的短音频可能会导致线程冲突使游戏卡顿,改用sun.audio类的AudioPlayer方法播放音频

v1.2.0 - July 11, 2020

  • 现在水管可以移动了,移动型水管刷新的概率会随着当前游戏分数递增

v1.1.0 - July 11, 2020

  • 添加了悬浮型的水管

v1.0.0 - July 10, 2020

  • 具备原版的游戏功能

License

MIT © Kingyu Luk

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].