PlusPlus: an app for people who can't count

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
lazershark3k
Prole
Posts: 17
Joined: Tue Apr 10, 2018 3:20 pm

PlusPlus: an app for people who can't count

Post by lazershark3k » Thu Nov 15, 2018 3:43 pm

Hey all,I've just made the ultimate counting app. Check it ouuuut

https://github.com/Clickity-Clack/PlusPlus

'+' or '.': Increment Counter
'-' or ',': Decrement Counter
'escape': Clear Counter
'q': Quit program
'l': Start changing the label for the current counter
'enter': Finish changing the label for the current counter
'n': Add new counter
'up': Select previous counter
'down': Select next counter
's': Write counter info to a JSON file in the LÖVE filesystem folder
*pew pew*

User avatar
ivan
Party member
Posts: 1448
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: PlusPlus: an app for people who can't count

Post by ivan » Thu Nov 15, 2018 5:51 pm

Your .love file is incorrectly packaged and you included the .git folder too...
The code needs work as well. For starters, I would recommend "strict.lua".
I like your idea of separating the underlying model (ticker) from the view (visualticker)
- this is a good start but the implementation needs work. Good luck!

User avatar
lazershark3k
Prole
Posts: 17
Joined: Tue Apr 10, 2018 3:20 pm

Re: PlusPlus: an app for people who can't count

Post by lazershark3k » Thu Nov 15, 2018 6:12 pm

Oops! Didn't notice that .git, and I totally forgot to test the .love
I really appreciate the feedback! Do you have any other implementation recommendations off the top of your head?

Here's a working .love
Attachments
PlusPlus.love
(10.73 KiB) Downloaded 41 times
*pew pew*

User avatar
lazershark3k
Prole
Posts: 17
Joined: Tue Apr 10, 2018 3:20 pm

Re: PlusPlus: an app for people who can't count

Post by lazershark3k » Thu Nov 15, 2018 7:42 pm

Update: you can set the name of the saved file now
Attachments
PlusPlus.love
(10.91 KiB) Downloaded 42 times
*pew pew*

User avatar
ivan
Party member
Posts: 1448
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

Re: PlusPlus: an app for people who can't count

Post by ivan » Fri Nov 16, 2018 5:24 am

lazershark3k wrote:
Thu Nov 15, 2018 6:12 pm
I really appreciate the feedback! Do you have any other implementation recommendations off the top of your head?
Yes, start by limiting the number of globals - you can check for this using the strict.lua library.
In terms of the overall structure, I think you could design your objects based on:
https://en.wikipedia.org/wiki/Model%E2% ... controller

User avatar
lazershark3k
Prole
Posts: 17
Joined: Tue Apr 10, 2018 3:20 pm

Re: PlusPlus: an app for people who can't count

Post by lazershark3k » Fri Nov 16, 2018 4:10 pm

ivan wrote:
Fri Nov 16, 2018 5:24 am
Yes, start by limiting the number of globals - you can check for this using the strict.lua library.
In terms of the overall structure, I think you could design your objects based on:
https://en.wikipedia.org/wiki/Model%E2% ... controller
Thanks a bunch! That gives me plenty to work on!
*pew pew*

steVeRoll
Citizen
Posts: 98
Joined: Sun Feb 14, 2016 1:13 pm

Re: PlusPlus: an app for people who can't count

Post by steVeRoll » Fri Nov 16, 2018 9:40 pm

Well done! Being able to delete or even change the order of counters would be nice.

Post Reply

Who is online

Users browsing this forum: DwayneDev and 7 guests