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: 24
Joined: Tue Apr 10, 2018 3:20 pm

PlusPlus: an app for people who can't count

Post by lazershark3k »

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: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

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

Post by ivan »

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: 24
Joined: Tue Apr 10, 2018 3:20 pm

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

Post by lazershark3k »

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 156 times
*pew pew*
User avatar
lazershark3k
Prole
Posts: 24
Joined: Tue Apr 10, 2018 3:20 pm

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

Post by lazershark3k »

Update: you can set the name of the saved file now
Attachments
PlusPlus.love
(10.91 KiB) Downloaded 160 times
*pew pew*
User avatar
ivan
Party member
Posts: 1911
Joined: Fri Mar 07, 2008 1:39 pm
Contact:

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

Post by ivan »

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: 24
Joined: Tue Apr 10, 2018 3:20 pm

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

Post by lazershark3k »

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*
User avatar
steVeRoll
Party member
Posts: 131
Joined: Sun Feb 14, 2016 1:13 pm

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

Post by steVeRoll »

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: No registered users and 35 guests