This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Engineer's profile picture

Memory!

Started by Engineer, 31 March 2013 - 10:00 PM
Engineer #1
Posted 01 April 2013 - 12:00 AM
Hello,

I have created the dutch (its an huge succes in the Netherlands) game Memory. It is still in early development, so expect bugs/exploits.


The goal of the game
You get a board with 'cards' and can have two open at one time. If you got a pair, you get 1 credit, and if you the cards dont match you lose 2 credits. I dont really have a levelling sytem yet, it just runs a new game until you are out of credits.

Randomization
The code generates its own board, everytime it needs to create a game. It needs a little bit of time, so I have added a loading bar. This is not your loading bar with sleep(5) etc. This is a 'realtime' loading bar.

The code
When HTTP is enabled, type:

pastebin get q10Gk684 memory

or visit this link: http://pastebin.com/q10Gk684

Screenshots
Spoiler

Changelog
Spoiler31 / 3 / 2013
- Release
few hours later
- Optimized randomization
- No loading bar neccesary

Known bugs
Spoiler- Buttons disappearing. Reported by: Hellkid98. Thanks!
- Last number stays always. Reported by: Engineer.

Thanks for reading!
Edited on 01 April 2013 - 03:42 AM
oeed #2
Posted 01 April 2013 - 12:12 AM
Surely you know by now.
No pics, no clicks.

This is very cool though.
superaxander #3
Posted 01 April 2013 - 12:13 AM
Awesome!
TheOddByte #4
Posted 01 April 2013 - 12:15 AM
Great to see that the forum is getting more games!
Will test this out right now, It seems legit.. :D/>
TheOddByte #5
Posted 01 April 2013 - 12:21 AM
Well I just detected a bug here
And I thought it would be easier to show you with a pic
SpoilerThe squares that are empty I cannot click..
I have tried every inch and it does'nt work.
Engineer #6
Posted 01 April 2013 - 01:30 AM
Well I just detected a bug here
And I thought it would be easier to show you with a pic
SpoilerThe squares that are empty I cannot click..
I have tried every inch and it does'nt work.

Working on a new version without the bug. Thanks for reporting.

Also I have added screenshots.
theoriginalbit #7
Posted 01 April 2013 - 01:35 AM
v nice. I like this.

you should upgrade the cards :P/> a little while ago I was working on a card game suit and found some nice ascii cards, and made some 'random' backs of cards…

http://puu.sh/2rbzI
Engineer #8
Posted 01 April 2013 - 01:39 AM
v nice. I like this.

you should upgrade the cards :P/> a little while ago I was working on a card game suit and found some nice ascii cards, and made some 'random' backs of cards…

http://puu.sh/2rbzI
That really looks very nice. But then I only could have 3 rows, wich would make it simpler. Maybe I will do something more fancy with cards and the game over screen in the future. Thanks for the suggestion though :)/>
theoriginalbit #9
Posted 01 April 2013 - 01:44 AM
That really looks very nice. But then I only could have 3 rows, wich would make it simpler. Maybe I will do something more fancy with cards and the game over screen in the future. Thanks for the suggestion though :)/>
You could have them stack over one another…
http://puu.sh/2rbJj
granted its not ideal. but it still works :P/>
justjort #10
Posted 01 April 2013 - 03:31 AM
yee een nederlands spel!
(thats dutch for: yee, a dutch game!)
Dlcruz129 #11
Posted 01 April 2013 - 04:25 AM
Looks nice!
Engineer #12
Posted 02 May 2013 - 07:21 PM
Taking this back in development! Currently rewriting it completely :D/>
theoriginalbit #13
Posted 02 May 2013 - 08:54 PM
Taking this back in development! Currently rewriting it completely :D/>
With ASCII cards?
Engineer #14
Posted 02 May 2013 - 09:19 PM
Maybe, not sure about that yet. I might implement it, no guarantees though :P/>
Ashton #15
Posted 03 May 2013 - 01:13 AM
Does this have to be run on an "advanced" computer? I tried to run it on a normal and it doesn't seem to be working….?

also, awesome game! gonna add this to the 'hidden' games option on my terminals :D/>
theeboris #16
Posted 03 May 2013 - 02:12 AM
Nice job!
Dutch:
Goed werk. Ik heb het nog niet getest maar als ik thuis ben ga ik dat zeker doen. :)/>
Engineer #17
Posted 03 May 2013 - 05:22 AM
Does this have to be run on an "advanced" computer? I tried to run it on a normal and it doesn't seem to be working….?

also, awesome game! gonna add this to the 'hidden' games option on my terminals :D/>/>
I think the pastebin link is currently down, but wait just a ltitle bit and there is a brand-new game. And yes, this must be run on an advanced computer.
Mackan90096 #18
Posted 03 May 2013 - 05:36 AM
I think the pastebin link is currently down, but wait just a ltitle bit and there is a brand-new game. And yes, this must be run on an advanced computer.

Yeah, the pastebin link is broken.
Engineer #19
Posted 18 May 2013 - 09:49 AM
After a lot of time, I decided I will discontinue this. However, I give you guys the chance to finish it. Here is the repo for it: https://github.com/EngineerCoding/Side-projects/blob/master/Unfinished/Memory.lua

Im going to manage it, because I dont want it to become a mess in the repo. Just send me a PM with the code you came up with, and Im going to add it if it is not complete bullsh*t. And of course, with the correct credit.

Happy coding! :)/>/>
theoriginalbit #20
Posted 18 May 2013 - 09:57 AM
Do not pull request, I ignore those.
Well thats lame…
Engineer #21
Posted 18 May 2013 - 09:59 AM
Do not pull request, I ignore those.
Well thats lame…

That is just before it gets messy, thats is what I want to prevent. And prevent it from *cough* "coders" *cough*
Cranium #22
Posted 18 May 2013 - 11:15 AM
Moved by request.
Geforce Fan #23
Posted 18 May 2013 - 11:56 AM
This should go in programs.
But looks awesome!
theoriginalbit #24
Posted 18 May 2013 - 12:16 PM
This should go in programs.
It used to be in there. a move was requested.
Pinkishu #25
Posted 18 May 2013 - 07:42 PM
Do not pull request, I ignore those.
Well thats lame…

That is just before it gets messy, thats is what I want to prevent. And prevent it from *cough* "coders" *cough*

i'm not sure how sending you PMs rather than making pull requests is less messy. Seems less organized than using the systems thats made for it.
(you can usually deny pull requests, you know :P/>)
Engineer #26
Posted 18 May 2013 - 07:43 PM
Okay… Come on and pull request..