Update apps

This commit is contained in:
Willy-JL
2023-07-26 02:08:35 +02:00
parent 18bb2a35f7
commit 356a4678d6
78 changed files with 1492 additions and 761 deletions

View File

@@ -14,6 +14,6 @@ App(
fap_icon_assets_symbol="game_reversi",
fap_author="@dimat",
fap_weburl="https://github.com/zyuhel/flipperzero-racegame",
fap_version="1.0",
fap_version="1.1",
fap_description="Reversi game, the game controls should be intuitive. Longs press on OK opens the menu to start a new game.",
)

View File

@@ -315,7 +315,7 @@ int32_t game_reversi_app() {
(app_state.game.current_player != app_state.game.human_color)) {
computer_move(&app_state.game);
}
FuriStatus event_status = furi_message_queue_get(event_queue, &input, FuriWaitForever);
FuriStatus event_status = furi_message_queue_get(event_queue, &input, 100);
if(event_status == FuriStatusOk) {
// handle only press event, ignore repeat/release events
@@ -335,6 +335,7 @@ int32_t game_reversi_app() {
view_port_update(view_port);
furi_mutex_release(app_state.mutex);
}
view_port_update(view_port);
}
gui_remove_view_port(gui, view_port);