eren-terzioglu opened a new pull request, #3118:
URL: https://github.com/apache/nuttx-apps/pull/3118

   Add high score feature into snake game
   
   ## Summary
   
   Add high score feature to print at the end in Snake game example
   
   ## Impact
   
   Snake game
   
   ## Testing
   
   Same steps applied on https://github.com/apache/nuttx-apps/pull/3028
   
   ```
   make distclean && ./tools/configure.sh esp32-devkitc:snake && make -j && 
make download ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BAUD=921600 && picocom 
/dev/ttyUSB0 -b 115200
   ```
   
   Alternatively, you can use `esp32-devkitc:nsh` defconfig with enabling 
following options:
   
   ```
   CONFIG_DEV_GPIO=y
   CONFIG_ESP32_GPIO_IRQ=y
   CONFIG_ESP_RMT=y
   CONFIG_EXAMPLES_GPIO=y
   CONFIG_EXAMPLES_RMTCHAR=y
   CONFIG_EXAMPLES_RMTCHAR_RX=y
   CONFIG_EXAMPLES_RMTCHAR_TX=y
   CONFIG_EXAMPLES_WS2812=y
   CONFIG_GAMES_SNAKE=y
   CONFIG_GAMES_SNAKE_USE_GPIO=y
   CONFIG_RMT=y
   CONFIG_RMTCHAR=y
   CONFIG_RMT_DEFAULT_RX_BUFFER_SIZE=256
   CONFIG_SCHED_LPWORK=y
   CONFIG_SENSORS=y
   CONFIG_WS2812=y
   CONFIG_WS2812_LED_COUNT=64
   CONFIG_WS2812_NON_SPI_DRIVER=y
   ```
   
   ### Running
   
   `snake` command used to run.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to