Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【开源自荐】HTML复刻经典吃豆人游戏 #3855

Open
mumuy opened this issue Jan 6, 2024 · 0 comments
Open

【开源自荐】HTML复刻经典吃豆人游戏 #3855

mumuy opened this issue Jan 6, 2024 · 0 comments
Labels

Comments

@mumuy
Copy link

mumuy commented Jan 6, 2024

🔗链接
官网:https://passer-by.com/pacman/
源码仓库:https://github.com/mumuy/pacman

📜介绍
这款吃豆人游戏的开发是我在学习和探索HTML5游戏的一次尝试,也是对这款儿时经典街机游戏的致敬。游戏大致还原了我印象中Pac-Man的样子,在移植关卡和玩法规则的同时,在游戏中加入了游戏角色动画管理和幽灵的智能寻址算法,实现了幽灵对玩家的围堵。在你玩的过程中,你会发现这些精灵似乎很有想法,它们知道如何彼此协作对你穷追不舍。

原代码仅1000多行,包含了游戏包含12个关卡,还是蛮有挑战性的。可以作为游戏开发学习的入门参考,我也想能通过游戏和代码与你分享一些我对游戏开发的感悟。

@ruanyf ruanyf added the weekly label Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants