# Readme
## Enviroment
**Unity** 2021.3.13f1
## How to play the game
1. Use **W, A, S, D** to move your character
2. Use **Shift** to let your character run
3. **Click left** to attack enemies
4. Use **F** to pick up coins
## Your game
1. Program works normally **(total 5%)**
- [x] Output as an application
2. Use package **(total 5%)**
- [x] Including those packages mentioned in the course
3. Infinite ground spawner **(total 20%)**
- [x] The ground will show up nearby the player, so the player won’t fall in to the void
4. Player have normal behaviors **(total 20%)**
- [x] Use “WASD” to Walk (2%)
- [x] Use “WASD + left shift” to Run (3%)
- [x] Use “space” to Jump (one jump at the same time), gravity and stand on the ground (5%)
- [x] Rotate left/right with camera “by mouse movement” (5%)
- [x] Look up/down without moving the character “by mouse movement “(5%)
5. Battle mechanism **(total 30%)**
- [x] Randomly generate emenies on the map (3%)
- [x] If player and enemy is close enough, enemy will chase player (3%)
- [x] Both player and enemy can attack each other (5%)
- [x] If enemy is dead, show it’s corpse (5%)
- [x] If enemy is dead, it drops coins, player can pick it up by press F, and increase the number of coins player have (5%)
- [x] UI for player’s health bar and number of coins, health bar for enemy too (7%)
- [x] If player’s is dead, show end game screen, and can go back to menu (2%)
6. Use Animator on player & enemy **(total 15%)**
- [x] Normal animation, like walk, run, jump (10%)
- [x] attack animation (5%)
7. Game menu **(total 5%)**
- [x] It can start your game and exit your application (2%)
- [x] Your game scene has the capability of switching back to your game menu (2%)
- [x] An interface in your game to illustrate how to play your game (1%)
## Bonus
1. Change
2. Background music and sound of footsteps
## Feedback
這是我第一次接觸unity,雖然課堂上助教有帶著我們一步步實作跟講解,但我上手的還是很慢,所以剛開始準備作業時有點找不到方向,自己又上網找了很多資料,也找了有經驗的人詢問,才好不容易完成這個viking game!雖然成品還是很粗糙,我也沒有多餘的心力跟時間做出特別的bonus,但完成遊戲的過程還是收穫很多。