# FanFEI_Jeu

**Instructions for use** 
    Log in to the website [raylib](https://www.raylib.com/), 
    click on Donwload Now, 
    install the software Notepad++ for raylib, 
    put the files in the same directory and open snake_FanFEI.c in Notepad++,
    press f6 or open the snake_FanFEI.exe.

**Expand on the basis of official raylib samples**
    [snake.c](https://github.com/raysan5/raylib-games/blob/master/classics/snake.c)
    
    
**The new game has the following features：**
1.  The snake has its own beautiful three-color skin.
2.  The boundaries of the game are no longer regarded as walls, and snakes can cross the four boundaries.
3.  The game has background music, when paused or failed, the music stops, when the game resumes, the music continues.
4.  The game time and score will be displayed in the upper right corner of the game interface, the score will be displayed when paused or ended.
5.  In addition to the basic fruits, the game also adds star rewards. If you eat it, you will get twice the score. Note that these stars will change positions every five seconds!
6.  At the beginning of the game, a few random-sized walls will be generated at random locations. It is best not to let your snake hit it!


