Comment if you downloaded the game and what you think of it(feedback). Also read the read me before playing!
Date: 10 Nov 2015 12:09
Number of posts: 17
RSS: New posts
To me, your program is a bit unpolished. It crashes fairly easily and doesn't feature a detection system (like specified in the readme), which defeats the whole purpose of the program basically. In the readme it's also stated that you may not press Enter while the board is being setup, but you should rather fix that problem instead of notifying the user of there being one.
What do you mean it crashes? In the read me I said there was no detection system.
As I said, it is in fact stated in the readme, but why would I want a connect 4 game on my calculator if it doesn't do more than draw O's and zeroes on a screen? You could do the same as your program does using pen and paper.
The error that occured after executing your program for the first time was a domain error pointing to an Output(.
You don't have to be so harsh. Simply state the problem with the program and any recommendations you have to fix it. You may want to play Connect Four with a friend. In my Connect Four program, you can select what kind of player each is (AI or Human), but human vs. human is useful.
I wasn't trying to be harsh, sorry if it seemed like that. I was just pointing out that the program is a quite rough around the edges and that a little polishing couldn't hurt.
So if I were to recommend anything, it would probably be trying to write a detection for when somebody wins, and also overcoming that a player can put more coins in a column than possible.
You and some other people could help me make it a better program if you want. Then, I can release a better version. I'll post the code tomorrow because I'm using my schools computer.
1. We already have the code. Your program is up for download, so we can look into the code, like I did.
2. Why doesn't it say anywhere that the 2nd button has a special function? It's stated in the code (getKey value of 21).
3. After I posted my initial comment on the 10th of November, I actually rewrote your whole program from scratch :). I tried to keep your design as much as I could, except I made sure not a single crash can occur (except for breaks of course). And since I had too much time on my hands, I designed and implemented a detection for winning. All in all it's 438 bytes lighter than your program. I can upload it if you want me to, I won't take any credit for the idea and the design obviously.
Yes, please post the code.The 2nd key doesn't have a special function(besides shutting down the game). It's just that I only know one way to use getKey. If anyone can help me learn another way to use get key, please post!
It's up to you how I post the code then. I'd rather upload it (create a new page) than just post it here in a comment though, since you can easily put it on your calc that way. I'm going to put it on my computer in a minute, so just give me a heads up if it's ok to upload it as a seperate program. Obviously I'll give credit where credit is due, link this page etc…
Do whatever you have/want to do to post the code.:)