Update apps

This commit is contained in:
Willy-JL
2023-08-30 18:59:32 +02:00
parent 160ab755a2
commit ee37769ee2
308 changed files with 2314 additions and 801 deletions

View File

@@ -1,4 +1,3 @@
# PLUGIN BY eugene-kirzhanov
App(
appid="game_2048",
name="2048",
@@ -8,10 +7,9 @@ App(
"gui",
],
stack_size=1 * 1024,
order=90,
fap_icon="game_2048.png",
fap_category="Games",
fap_author="@eugene-kirzhanov",
fap_version="1.0",
fap_description="2048 Game",
fap_version="1.1",
fap_description="Play the port of the 2048 game on Flipper Zero.",
)

View File

@@ -13,6 +13,7 @@
#include <gui/gui.h>
#include <input/input.h>
#include <storage/storage.h>
#include <dolphin/dolphin.h>
#include "digits.h"
#include "array_utils.h"
@@ -393,6 +394,9 @@ int32_t game_2048_app() {
Gui* gui = furi_record_open(RECORD_GUI);
gui_add_view_port(gui, view_port, GuiLayerFullscreen);
// Call dolphin deed on game start
dolphin_deed(DolphinDeedPluginGameStart);
bool is_finished = false;
while(!is_finished) {
FuriStatus event_status = furi_message_queue_get(event_queue, &input, FuriWaitForever);