All Questions
Tagged with community-challenge javascript
13 questions
5
votes
2
answers
1k
views
another Tic-Tac-Toe Game
I have a bit of experience in programming but not that much. I was trying to create a TicTacToe Game in Javascript. I was doing my best to have a good structure. I was thinking about using classes, ...
11
votes
1
answer
187
views
Wandering water ways
An entry for the August 2016 Community Challenge
I slightly modified the input and output to suit the snippet tool, and also because I really like the mapped output with the basins.
I have been ...
20
votes
4
answers
1k
views
Simon Says: is this too complex?
I took a class covering HTML, CSS, Javascript and for a final project, thinking of a previous community challenge, I created Simon Says.
Going through my code my professor deemed it overly ...
6
votes
2
answers
596
views
Rock, Paper, Scissors, Lizard and Spock with OOP
Today I saw an extremely interesting question on the Rock, Paper, Scissors, Lizard and Spock game. I've decided to take my swing at it and I've written the following OOP implementation:
...
24
votes
6
answers
5k
views
Rock, Paper, Scissors, Lizard and Spock
I am currently done with this little Rock, Paper, Scissors, Lizard, Spock game in JavaScript. The game is working fine, but I am not pleased with the code. Is there a way to refactor these ...
20
votes
2
answers
464
views
Calculator Snippet CC
The April 2015 Community Challenge requires building a calculator.
Implement a simple calculator
Where the definition of "simple" is whatever you make it - only
supports basic arithmetic ...
12
votes
2
answers
938
views
Simon says HTML5
Here's a little game written in HTML5 using bleeding edge audio. Since I don't do much HTML5 or Javascript, I'm particularly interested in:
Structure Is this a reasonable way to structure the ...
12
votes
1
answer
1k
views
Simon Says in Javascript (with Knockout) - Playable Code Snippet
I resolved to do the whole thing with just vanilla Javascript as a challenge, but man, Knockout's binding and state management is just too easy.
A tiny bit of callback hell to get all the flashing / ...
30
votes
1
answer
1k
views
Javascript Minesweeper (with Stack Snippets!)
As Stack Snippets are live on Code Review now, I wanted to do something quick in it as part of rolfl's challenge on meta. And when you make things quick, they probably get dirty. And when things get ...
11
votes
3
answers
4k
views
Ultimate Tic-Tac-Toe Challenge
This is my attempt at the Ultimate Tic-Tac-Toe code challenge.
It uses jQuery to build out the game grid and find the states of all the "buttons" (actually ...
12
votes
1
answer
229
views
Weekend Challenge - Belle's Christmas
My entry for Weekend Challenge #5.
In scope :
Old Skool green on black text adventure
Keyboard handling
A story with 2 mini-quests
2 endings
Virtues ( Hi Ultima ) save the day
Out of scope :
Mouse ...
10
votes
1
answer
644
views
Sudoku solver: pencil marks & recursive patience
Here is my attempt at Weekend Challenge #3.
Out of scope:
It only will do 9*9
It will stop at the first solution
Could have been smarter at re-using the cache when recursively calling ...
10
votes
1
answer
415
views
isStraight evaluation function
The context is Weekend Challenge #2 (Poker hand evaluation).
...