https://github.com/jingshing/a_little_knife_py
A simple game was invend in China. Also known as "小刀一把", means a little knife
https://github.com/jingshing/a_little_knife_py
Last synced: 2 months ago
JSON representation
A simple game was invend in China. Also known as "小刀一把", means a little knife
- Host: GitHub
- URL: https://github.com/jingshing/a_little_knife_py
- Owner: JingShing
- License: bsd-3-clause
- Created: 2023-09-13T13:50:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T13:51:52.000Z (over 2 years ago)
- Last Synced: 2025-03-09T20:59:44.874Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# a_little_knife_py
A simple game was invend in China. Also known as "小刀一把", means a little knife
# Game rule
> This game need two player to play.
> The game goal is using weapon to killed other player and upgrade your weapon.
> If you use the greatest weapon to kill the other player. You will win.
* First phase, two player play paper-scissor-stone. Winner can do a action.
* There are some basic action: "run", "rush", "equip", "armor on", "off others armor".
* run: move to next position of ascii value.
* rush: in this version. rush can teleport you to the other player's position.
* equip: you need to equipped your weapon to using weapon actions.
* armor on: sometimes armor can protect you from the weapon.
* off others armor: tear off the other's armor. To make your attack useful.
* Since the final goal is using the greatest weapon to kill the other player.
* Let's Introducing all the weapon:
* There are several weapon: "knife", "katana", "pistol", "rifle", "grenade".
> before using weapon. Remember to equipped your weapon.
* weapons have their own weapon skills: "attack", "reload","aim","shoot", "drop", "blow"
* attack: melee attack. You can only attack the other player in same position.
* reload: pistol need to reload first before shoot.
* aim: guns need to aim first. And you can shoot from near to far target. But if target moved, you will lost focus.
* drop: drop gernade in your position. It will not blow up until you blow it up.
* blow: blow the grenade. If the other player got killed by grenade. Game is over.