Commit Graph

56 Commits

Author SHA1 Message Date
Andrea Blankenstijn 8bbe43a14d write some App class for SDL UI 2022-02-11 11:43:03 +01:00
Andrea Blankenstijn c78e4749f8 formatting and fix tui 2022-02-09 18:47:59 +01:00
Andrea Blankenstijn f714e43338 SDL GUI rewrite 2022-02-09 16:28:52 +01:00
Andrea Blankenstijn 1014a90660 little changes™ 2022-01-16 15:27:14 +01:00
Andrea Blankenstijn c6371bb6bd refactor private member names and make more methods private 2022-01-05 16:06:02 +01:00
Andrea Blankenstijn a8189b4723 track player unit count and used it for determining a winner 2022-01-05 15:49:15 +01:00
Andrea Blankenstijn c1133831d0 base 2 player game with terminal "ui" 2022-01-04 21:38:21 +01:00
Andrea Blankenstijn 43826f5f7f use a queue for 'recursion' variable in Board2D::move 2022-01-04 19:20:32 +01:00
Andrea Blankenstijn ee51631905 start rewrite 2022-01-04 13:56:03 +01:00
Andrea Blankenstijn 7c930df84c pin dependency version and format code 2021-12-23 20:48:58 +01:00
Andrea Blankenstijn 0c3c4fd929 adapt to bwidgets changes 2021-08-07 20:04:32 +02:00
Andrea Blankenstijn 84421cfc39 function name change in bwidgets 2021-08-01 11:15:30 +02:00
Andrea Blankenstijn c5189f35ab edit gitignore 2021-08-01 11:15:09 +02:00
Andrea Blankenstijn dda6e67ce0 refactor formate code 2021-07-31 00:36:59 +02:00
Andrea Blankenstijn 0ce47c89e6 fix game::logic::spread crashes 2021-07-31 00:36:08 +02:00
Andrea Blankenstijn 167675485a fix uninitialized value 2021-07-31 00:32:50 +02:00
Andrea Blankenstijn 0338c5a4be fix memory leak 2021-07-31 00:27:55 +02:00
Andrea Blankenstijn c898db26e4 code linting and formatting 2021-07-30 21:36:19 +02:00
Andrea Blankenstijn b503c006b4 uninitialized value fix 2021-07-27 22:19:23 +02:00
Andrea Blankenstijn de2c7766a0 add missing files. ui improvement 2021-07-27 21:56:59 +02:00
Andrea Blankenstijn b5ba3a1fd7 improve ui 2021-07-24 22:41:18 +02:00
Andrea Blankenstijn 980efb8b53 lib update changes 2021-07-24 08:19:27 +02:00
Andrea Blankenstijn ec885e9ac8 add missing files 2021-07-23 22:31:09 +02:00
Andrea Blankenstijn a3c8f65e72 wip menu 2021-07-23 20:11:43 +02:00
Andrea Blankenstijn 898215ec7c wip menu 2021-07-21 01:00:57 +02:00
Andrea Blankenstijn 738ce45c52 cosmetic 2021-07-21 00:04:21 +02:00
Andrea Blankenstijn 897c863fdd adapt to latest bwidgets changes 2021-07-20 23:59:21 +02:00
Andrea Blankenstijn c5cb53ebc7 update readme 2021-07-12 19:44:11 +02:00
Andrea Blankenstijn 244f7dd2aa make it work with latest changes in basic_widgets. wip ui screen/layers 2021-07-12 19:15:55 +02:00
Andrea Blankenstijn fb4770f235 a few fixes and some improvement to board widget. working game screen. 2021-07-08 20:26:14 +02:00
Andrea Blankenstijn b15b524f18 check for nullptr in click handler. 2021-07-07 21:25:45 +02:00
Andrea Blankenstijn df747aadd5 fix spread being called before square capacity exceeds. 2021-07-07 21:24:02 +02:00
Andrea Blankenstijn 548e83c025 wip ui composition 2021-07-07 21:08:53 +02:00
Andrea Blankenstijn 0c2a377dc7 lot of code (re)writed.
working board widget
make use of namespaces
make game data objects simpler
use a more procedural style to manipulate data.
2021-07-06 14:38:04 +02:00
Andrea Blankenstijn 7535809bb8 use widget lib sw circle rendering 2021-07-02 16:49:33 +02:00
Andrea Blankenstijn 33640aad82 wip convert current GUI elements to basic_widgets. 2021-06-25 15:58:21 +02:00
Andrea Blankenstijn 368ca113ac remove unused parameters 2021-06-23 22:52:02 +02:00
Andrea Blankenstijn 7469206a85 specify gui app build mode for windows platform 2021-06-23 22:51:50 +02:00
Andrea Blankenstijn fc2d6b7839 add basic_widgets dependency 2021-06-23 22:14:31 +02:00
Andrea Blankenstijn 8a0bb1552f remove unused or unimplemented features 2021-06-03 15:30:21 +02:00
Andrea Blankenstijn 0d9ac5bb13 remove text ui 2021-06-03 15:18:11 +02:00
Andrea Blankenstijn cc163fe8d9 build instructions 2021-06-03 15:17:15 +02:00
Andrea Blankenstijn 0b9e948075 basic yet playable first version. need testing 2021-06-03 15:12:20 +02:00
Andrea Blankenstijn aee7eae80b use meson build system instead of makefile 2021-05-31 15:22:49 +02:00
Andrea Blankenstijn 155f87739c SDL UI: fix board outline rendering 2021-05-31 14:34:05 +02:00
Andrea Blankenstijn a0dc71191e SDL UI: draw board's squares content. 2021-05-31 14:13:36 +02:00
Andrea Blankenstijn 0b47c091ab WIP SDL board rendering 2021-05-29 17:02:47 +02:00
Andrea Blankenstijn 1820c88437 Start working on a SDL UI. 2021-05-28 16:37:55 +02:00
Andrea Blankenstijn 42c6366f14 "seems-to-work" first version 2021-05-15 13:53:23 +02:00
Andrea Blankenstijn f02c72ac35 terminal ui wip and debugging wip 2021-05-15 11:50:52 +02:00