I install this on literally every device I own. Windows machines, linux machines, android machines. It's a great source of small, procedurally generated puzzles. I often just put on some music and zone out playing Pearl for a while.
e: If you're on Ubuntu: sudo apt-get install sgt-puzzles
e2: I misremembered, it's not precisely Unruly--Unruly allows you to repeat rows/columns. But whatever, go install these games!
Re:0h h1 – A little logic game
by teraflop on Thursday November 13, 2014 @12:52PM
(#8602881)
That collection is technically kind of interesting too. The puzzle code itself is written in portable C, using a custom-built common framework and UI abstraction layer that allows it to run on pretty much any platform.
Re:0h h1 – A little logic game
by jcl on Thursday November 13, 2014 @02:28PM
(#8603494)
Also, each puzzle has its own custom constraint solver to generate fresh puzzles with desirable characteristics. For example, the version of minesweeper in the collection generates puzzles such that the first click never reveals a mine and that there is always a logical path to the solution -- no guessing needed.
Re:0h h1 – A little logic game
by Zeebrommer on Thursday November 13, 2014 @03:11PM
(#8603750)
I always wonder with these kinds of puzzles how one can come up with an initial settings that (a) yields a unique correct solution and (b) has a logical next step at every step (so doesn't require thinking ahead x steps to arrive at a conflict)
Re:0h h1 – A little logic game
by mythmon_ on Thursday November 13, 2014 @09:11PM
(#8605477)
For at least Loopy, the generator works by generating a full puzzle with all hints, and then removing hints one at a time until the solver can't solve the puzzle. So the complexity of the puzzles that can be generated are dependent on the cleverness of the solver.
Re:0h h1 – A little logic game
by thisjepisje on Thursday November 13, 2014 @05:06PM
(#8604455)
One possibility is to generate or change small parts of the puzzle each turn. For minesweeper for example you start out with an empty field, and after the first click you generate the mines.
Re:0h h1 – A little logic game
by brianpgordon on Thursday November 13, 2014 @02:41PM
(#8603592)
This almost seems like something you'd see in a thedailywtf article.
Want to write an application that does X? Design, build, test, and document a flexible cross-platform framework that can safely and portably run any application in the domain, and then specialize it to do X!
I have to say, though, that it seems to have actually worked out for the best in this case. He added a ton of puzzles at a rapid pace and they've spread to a surprising number of platforms.
Re:0h h1 – A little logic game
by rbsn on Thursday November 13, 2014 @05:39PM
(#8604632)
Oh wow. These were installed on all the computers at school. We would often have hours where we didn't have any lessons scheduled, but couldn't play games, watch YouTube or go on Facebook as we would get our accounts suspended. This was the only game we could play as we could argue that it was technically "learning". The other one was a website where you had to name and locate all states in the USA. We are a British school.
Re:0h h1 – A little logic game
by jsnell on Thursday November 13, 2014 @10:34AM
(#8601995)
A few bits of feedback:
- There's no list of rules anywhere. If you forget any rule, you need to go through the tutorial again.
- Is the tutorial missing a rule? (It has the "no two identical rows" rule, but it seems like you also can't have two identical columns).
- The endgame needs work. Right now it's simply highlighting every square that's wrong, rather than just telling which rule was broken. This is absolutely ridiculous, since at that point the player can simply flip every highlighted square and pass (and score the full points?).
There are two alternatives I can think of:
a) Instead of telling which squares are wrong, find an instances of the rules being broken. So for example highlight two rows that are equal, or a column of 3 identical squares, etc.
b) End the game when the board is full, but dock points for incorrect spaces, rather than force the player to go through the busywork of just toggling all squares that were wrong.
Re:0h h1 – A little logic game
by csacc on Thursday November 13, 2014 @01:21PM
(#8603066)
Yeah everything in this 10x10 seems right and I have looked over every single row and column to confirm that I haven't broken any rules but it still tells me that 8 random tiles are incorrect.
Re:0h h1 – A little logic game
by d0m on Thursday November 13, 2014 @11:57PM
(#8605878)
That's the point of having a clear set of rules somewhere because most people skipped that part of the tutorial. (I did too) I had to be stuck somewhere, quit the game and redo the tutorial very slowly just to see if there's a rule I didn't see ;)
Another way to find the rules is to use the "eye" on every turn in a 6x6 or 10x10.
Re:0h h1 – A little logic game
by mrtnkl on Thursday November 13, 2014 @02:47PM
(#8603621)
Hi, I'm Martin, the author. Thanks for analyzing the game and the recommendations. I was actually working on your solution a already. So it will be coming up shortly. Also, for those who were suggesting to put it on iTunes and the Play Store, it already is. Enjoy playing! - @mrtnkl
Re:0h h1 – A little logic game
by mikeash on Thursday November 13, 2014 @05:06PM
(#8604457)
I have nothing much to contribute, but I want to say that this is really well done, I'm having a lot of fun with it, and thanks for making an iOS app for it. Now I just need to train my brain to notice rows determined by the "identical row" rule....
Re:0h h1 – A little logic game
by staffordrj on Thursday November 13, 2014 @11:43AM
(#8602455)
I actually appreciate the sense of discovery in the way the rules are presented. It felt like someone was actually watching me play and stepping in once they saw I was stuck.
Re:0h h1 – A little logic game
by mikefivedeuce on Thursday November 13, 2014 @12:31PM
(#8602749)
I had trouble with the "no two identical rows" rule as well. I didn't see it in the tutorial and on the 10 x 10 it was a key piece of logic to solve the puzzle.
Enjoyed the game play and the graphics are very smooth and clean.
Re:0h h1 – A little logic game
by infinity0 on Thursday November 13, 2014 @11:37AM
(#8602428)
Yes, it's pretty easy to maximise your points-per-second simply by clicking everything once to red, then correcting the ones that the endgame says are wrong.
Re:0h h1 – A little logic game
by rareEarth on Thursday November 13, 2014 @01:30PM
(#8603127)
Yes, I believe it is missing a rule. If columns don't need to be identical than this 10x10 puzzle won't have a unique solution: http://i.imgur.com/ZQ8pkfm.png
Re:0h h1 – A little logic game
by jtanderson on Thursday November 13, 2014 @02:24PM
(#8603459)
I get the same problem with valid solutions that don't match whatever it's comparing as the "right" one. It would be better to instead do a goal test after the final square has been filled? Seems to me this wouldn't be too hard to implement instead of comparing with a key.
Re:0h h1 – A little logic game
by timv on Thursday November 13, 2014 @06:32PM
(#8604866)
That's the point.
The rules don't explicitly say that columns need to be unique (only rows).
Within the stated rules there are (as best I can see) 2 valid solutions to that puzzle. It is the introduction of the unstated unique column rule that resolves it.
Re:0h h1 – A little logic game
by spb on Thursday November 13, 2014 @11:52AM
(#8602506)
It would be better if I could set red or blue with one click rather than having to cycle through. Some UI like this, where X is Red and O is blue:
_______
| \X|
| \|
|\ |
|O\_____|
```````
Tapping the red or blue corner of an unset gray tile would would set the tile to the tapped color, and tapping a red or blue tile would unset it back to gray.
Also, the "fixed" tiles of the puzzle need to be presented in a different style from the "dynamic" tiles the user can set.
Re:0h h1 – A little logic game
by phest on Thursday November 13, 2014 @12:09PM
(#8602610)
(Edit: so this is a pre-existing game concept. Should have read the about page first :) Thanks for showing me this game in a nice little implementation anyway. & my feedback/suggestion still stands.)
Outstanding work. This is an excellent, simple and original logic game, well done.
Only negative thing I experienced: it can be tough(/not particularly fun) to find similar rows/columns when playing on larger grids. And I don't feel like finding similar complex line patterns is where the game design esthetic shines. Not sure how you could solve this. Perhaps some sort of visualization of similarity of rows for larger grids? Say two rows are identical (minus missing tiles), then the same little icon could appear to the right of each row. Icons could be differentiated by shape, or color. Just an idea. Good work :)
Re:0h h1 – A little logic game
by lotharbot on Thursday November 13, 2014 @02:46PM
(#8603609)
I probably wouldn't do something as blatant as "always pre-mark identical rows for me". But something simpler like a "highlight all rows that currently match this one" button would be nice for probing for identical rows.
Re:0h h1 – A little logic game
by jws on Thursday November 13, 2014 @11:34AM
(#8602403)
I like the effort that went into the eyeball command. It speaks to you like a human. That is, rather than showing a cell hint, it works out how you would get there and tells you that.
I did similarly in a sudoku game, it is an interesting exercise that then colors your thinking about error messages in future programming.
Re:0h h1 – A little logic game
by readerrrr on Thursday November 13, 2014 @02:49PM
(#8603632)
10x10 solved. It seems too easy. It is almost an auto solver, you just have to find two blocks of the same color together, or two blocks with the same color with an empty block in-between.
Great for a young person, but I would like to see a version with more rules and constraints to follow.
Re:0h h1 – A little logic game
by seanalltogether on Thursday November 13, 2014 @05:18PM
(#8604510)
Oddly enough, I found the 10x10 easier to solve then the 6x6 and the 8x8. After a couple play-throughs I think I know why. When trying to determine your next move, there's 3 options.
1. Look for a chance to play a block that wouldn't cause a chain of 3 colors together.
2. Look so see if the row or column has enough of a certain color in it.
3. Look to see if the row or column is a duplicate of another.
1 and 2 are easier to spot, but 3 is actually quite difficult and takes a lot of time to determine. On the 10x10, option 3 is almost never the determining case, probably because there are so many more possible configurations for a row or column, vs on a 6x6.
Re:0h h1 – A little logic game
by bumbledraven on Friday November 14, 2014 @01:48AM
(#8606098)
Those three heuristics seem to work for the puzzles on the site, due to a limitation of the site's puzzle generator. However, there exist puzzles of this type which cannot be solved using only those three heuristics.
Take this one, for instance:
- O - - - -
X - - O X -
- - - - - -
O - X - O -
- - - - - O
X - O - X -
This puzzle has the unique solution shown below, but none of your three heuristics will make any progress on it.
O O X X O X
X X O O X O
X O O X O X
O X X O O X
O X X O X O
X O O X X O
One of the ways you can solve this is to note that the square in the upper-left corner must be O. This is because if it were X, then there would be three adjacent Os in the first column. This insight is due to [email protected].
Re:0h h1 – A little logic game
by seanalltogether on Friday November 14, 2014 @03:40AM
(#8606325)
Except that your puzzle has multiple solutions, so I'm guessing that's why it breaks the heuristics. The same would be true of a sudoku puzzle with too few starting numbers.
O O X X O X
X X O O X O
O O X O X X
O X X O O X
X X O X O O
X O O X X O
Re:0h h1 – A little logic game
by emmanueloga_ on Thursday November 13, 2014 @07:59PM
(#8605223)
Glad to see this comment too.. I thought I was hitting a bug or something (making the game way too easy to solve :p). Just turning off the hints would make it much more difficult imo.
Re:0h h1 – A little logic game
by readerrrr on Thursday November 13, 2014 @10:17PM
(#8605650)
More constrains does not necessary translate to less choices. And even when it does, less choices do not necessary make it an easier game.
For example: I remove undo move, then you certainly have less choices but, the game is harder( even for a computer ), since you have to remember previous states which were previously accessible via undo.
Re:0h h1 – A little logic game
by cousin_it on Thursday November 13, 2014 @01:12PM
(#8603010)
Interesting! It looks like the game never requires you to backtrack, there's always a way forward by applying some rule exactly once. I guess that's why you have the requirement for unique rows and columns (which is pretty jarring gameplay wise), otherwise the forced games would be much more boring.
That kinda limits the possible intellectual enjoyment from the game, though. Without the requirement for unique rows and columns, the game would become Simon Tatham's "Unruly" (http://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/unrul...), which is extremely fun because you need to think ahead :-)
Re:0h h1 – A little logic game
by bumbledraven on Friday November 14, 2014 @02:04AM
(#8606125)
It looks like the game never requires you to backtrack
There are puzzles of this type that require either backtracking or exceedingly complex heuristics. However, the site only seems to generate simple puzzles that do not require backtracking.
Re:0h h1 – A little logic game
by tehwalrus on Thursday November 13, 2014 @01:27PM
(#8603093)
Is every puzzle deterministic? I've twice now run out of rules to apply, just seen a solution and tapped it in. I'd hate to have to go and unmark all the squares since I guessed!
Re:0h h1 – A little logic game
by bumbledraven on Saturday November 15, 2014 @04:29AM
(#8611284)
I would be very interested to hear an explanation of how to solve the puzzle below without guessing. For reference, the unique solution is on the right.
- - - O - - O X X O X O
X - - - - X X O O X O X
- - - - - O X O X O X O
- - - X O X O X O X O X
- - - - - X O X O O X X
- - X - - O X O X X O O
Re:0h h1 – A little logic game
by 1wd on Saturday November 15, 2014 @01:20PM
(#8612242)
Order to fill in the board (1, 2, 3, ... 9, A, B, C, ... N):
B C D O 2 1
X 3 G N 4 X
M N H I 5 O
F E F X O X
L K J 6 A X
9 8 X 7 8 O
Reasoning:
1. finish column
2. avoid OOO in row
3. avoid OOO in row
4. avoid OOO in row
5. avoid OOO in column
6. don't duplicate column 6
7. avoid XXX in column
8. wrap XX on both sides
9. finish row
A. finish column
B. avoid OOO in column
C. avoid XXX in column
D. finish row
E. don't duplicate column 5
F. finish row
G. avoid OOO in column
H. avoid OOO in column
I. avoid XXX in row
J. finish column
K. avoid OOO in row
L. finish row
M. finish column
N. finish rows
Re:0h h1 – A little logic game
by bumbledraven on Sunday November 16, 2014 @10:57PM
(#8616785)
Nice work! Step 6 was the one that eluded me. Using that principle I've now been able to solve several boards that I previously thought required guessing.
Re:0h h1 – A little logic game
by mhandley on Thursday November 13, 2014 @12:15PM
(#8602646)
You're correct - I didn't notice this. Sorry I deleted my original message once I realised to avoid too much noise but you'd already commented. Here's the link again to avoid messing up the thread completely: http://handley.org.uk/ohhi.png
Re:0h h1 – A little logic game
by sp332 on Thursday November 13, 2014 @10:50AM
(#8602113)
Well if you switch the squares on row 3, you have to switch the square on row 1 as well. Otherwise the columns will not have even numbers of red and blue squares.
Re:0h h1 – A little logic game
by Chirono on Thursday November 13, 2014 @12:56PM
(#8602907)
Really nice idea, but it seems like quite a reliable way to win is to fill all the squares in red, and then change all the places it tells you are wrong.
Perhaps rather than pointing out which cells are wrong, highlight the group/row/column that break the rules instead. That might make it slightly harder.
Re:0h h1 – A little logic game
by chx on Monday November 17, 2014 @12:23AM
(#8616967)
For the 8x8 table there's a trick you can do which I suspect the heuristics never considers (because the rule violation is not 1 but many steps away): if you have a chit of one color on 1, 5 and one more above 5 then any more above 5 can't be of this color otherwise 2-4 all three would need to be of the opposite color and that's illegal.
Same for 1,2,4: 5 is of the opposite color otherwise 6-8 are of one color.
Re:0h h1 – A little logic game
by 8_hours_ago on Thursday November 13, 2014 @03:50PM
(#8603999)
There are two identical rows.
The game should show the identical rows/columns instead of just highlighting every incorrect square... it can take a while to find out what's actually wrong with a solution.
Re:0h h1 – A little logic game
by nahiluhmot on Thursday November 13, 2014 @03:16PM
(#8603775)
Same thing happened to me. Looks like it checks for one hard-coded answer when there could be many for a given puzzle. It should just check that your board satisfies the rules described in the tutorial instead.
Re:0h h1 – A little logic game
by jtolds on Thursday November 13, 2014 @10:56AM
(#8602160)
Clicking the top row seems broken sometimes. I suspect when I think I'm clicking a cell on the top row that I'm actually clicking the board size element ("4x4" or "10x10"), and it's not transferring through to the underlying cell.
Re:0h h1 – A little logic game
by bumbledraven on Saturday November 15, 2014 @03:08AM
(#8611171)
Was that puzzle from the website?
No, my friend and I made that one. It can be solved without guessing, but it takes another heuristic beyond the three or so that people usually use. We also have ones that require guessing (can't be solved with any reasonable heuristics as far as we know.)
I learned clingo to solve puzzles and business scheduling problems. Check out my web site http://www.takingthefun.com for other games and puzzles I've solved with it.
Re:0h h1 – A little logic game
by ShoePooPoo on Thursday November 13, 2014 @11:01AM
(#8602194)
Maybe it's just broken for me? All I see is a dark screen, although all sources load. I also downloaded the page and sources and tried to launch locally- nothing works. Maybe it's my locked down work computer?
Re:0h h1 – A little logic game
by vlunkr on Thursday November 13, 2014 @03:24PM
(#8603819)
This is really fun! My suggestion is to think of a more memorable name. I've played several times today and I've forgotten the name every time and had to come back to HN to find it.
Re:0h h1 – A little logic game
by readerrrr on Friday November 14, 2014 @12:05AM
(#8605891)
edit: I'm wrong.
I have found a correct solution, yet the game doesn't accept it:
B r r B
r B B r
B B r B
B r B r
The correct solution was:
B r r B
r B B r
B B r r
r r B B
My guess to this is that there are more than one solutions to the problem and checking if the board is solved is done by finding the first solution and comparing it to yours.
Re:0h h1 – A little logic game
by function_seven on Friday November 14, 2014 @01:09AM
(#8606029)
Earlier today when I saw this thread I came to post my game that "should have won but didn't", only to see to many other people posting the same. For me it was the "no duplicate columns or rows" rule that I didn't notice. Something about this game is tripping a lot of people up.
Re:0h h1 – A little logic game
by readerrrr on Friday November 14, 2014 @01:14AM
(#8606043)
The thing is I know about the rule of equal number in each row and column, and have used it to solve a few 10x10, but when switching to a 4x4 I forgot it exists. I took some time and went trough the rules I knew, before posting this "error", but that one rule was gone.
Re:0h h1 – A little logic game
by egregiouscoder on Thursday November 13, 2014 @04:59PM
(#8604417)
Very cool concept! At first I thought it was going to be like 2048, but it ended up being more of a challenge which I enjoy. Would love to see an app version of this
Re:0h h1 – A little logic game
by kelvin0 on Thursday November 13, 2014 @11:35AM
(#8602415)
I would like to know what tools/frameworks/languages were use to develop this cool game. I know it boils down to HTML5/CSS/JS, but was it DART? TypeScript? What frameworks did you use? I want to start a small game as a web app, but I'm having trouble settling into which tools ... so far I'm tinkering with DART and Polymer ... ideas, suggestions?
Re:0h h1 – A little logic game
by GrinningFool on Thursday November 13, 2014 @11:46AM
(#8602469)
I'm making an assumption here that you don't have a lot of development experience. Given that: start with the basics. Pure javascript/html5/css. You'll then learn what you want out of a framework and will have a better foundation for the next project (which might be a rewrite of the same thing).
You'll also get a first-hand view of how screwed we are in the HTML5 "standards" department,
Re:0h h1 – A little logic game
by kelvin0 on Thursday November 13, 2014 @01:07PM
(#8602966)
Actually I have quite a bit of programming experience, and that is the reason why going straight to Javascript (as I have done before) does not seem productive ...
Re:0h h1 – A little logic game
by Igglyboo on Thursday November 13, 2014 @02:05PM
(#8603368)
All I ever used at university was Java and Python, it was extremely intimidating for me to have to learn 3 languages to start doing web programming. After a few months of daily front end work they start to blur together and become one in the same.
Just dive in and you'll get used to it soon enough. Html is really easy and JS is similar to other C-like languages, css is pretty hard if you're building complex applications IMO but things like LESS and SASS make it easier to deal with.
Re:0h h1 – A little logic game
by kelvin0 on Thursday November 13, 2014 @01:08PM
(#8602973)
Once the beef has been turned into a hamburger, it's hard to identify the specific animals that went into the hamburger's composition ... if you know what I mean.
Re:0h h1 – A little logic game
by Igglyboo on Thursday November 13, 2014 @02:10PM
(#8603393)
That somewhat holds for non web apps but when you have the source it's pretty easy to tell what it was made with. Usually if it's a compile to javascript language like TypeScript or Dart the source is going to look horribly obfuscated. The js on the page is pretty straight forward so I really doubt he used one of those.
Looking at the source it looks like everything is hand rolled except for the jQuery dependency.
Re:0h h1 – A little logic game
by granfalloon on Thursday November 13, 2014 @10:34AM
(#8601996)
What are you referring to? Looks like you have several three-in-a-rows, and some other squares are highlighted because they will be invalid once you fix the triples. (Could be wrong!)
Re:0h h1 – A little logic game
by cokernel on Thursday November 13, 2014 @10:33AM
(#8601987)
As far as I can tell, this is the same game as Unruly[0], which is included in Chris Boyle's Android port[1] of Simon Tatham's puzzle collection.
EDIT: The history is a little more interesting than that. The janko.at page on Tohu wa Vohu[2] names many pre-existing variants: Eins und Zwei, Binary Puzzles[3], Binoxxo, and others. Binary Puzzles are notable for being paper-and-pencil puzzles, but it's not clear whether these were first paper-and-pencil puzzles or computer puzzles.
Re:0h h1 – A little logic game
by apetresc on Thursday November 13, 2014 @10:29AM
(#8601964)
Eh? I thought the tutorial was great. Took less than 2 minutes, I totally understood the rules, and had completed a sample puzzle. What more could you want?
I install this on literally every device I own. Windows machines, linux machines, android machines. It's a great source of small, procedurally generated puzzles. I often just put on some music and zone out playing Pearl for a while.
e: If you're on Ubuntu: sudo apt-get install sgt-puzzles
e2: I misremembered, it's not precisely Unruly--Unruly allows you to repeat rows/columns. But whatever, go install these games!
http://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/
Want to write an application that does X? Design, build, test, and document a flexible cross-platform framework that can safely and portably run any application in the domain, and then specialize it to do X!
I have to say, though, that it seems to have actually worked out for the best in this case. He added a ton of puzzles at a rapid pace and they've spread to a surprising number of platforms.
- There's no list of rules anywhere. If you forget any rule, you need to go through the tutorial again.
- Is the tutorial missing a rule? (It has the "no two identical rows" rule, but it seems like you also can't have two identical columns).
- The endgame needs work. Right now it's simply highlighting every square that's wrong, rather than just telling which rule was broken. This is absolutely ridiculous, since at that point the player can simply flip every highlighted square and pass (and score the full points?).
There are two alternatives I can think of:
a) Instead of telling which squares are wrong, find an instances of the rules being broken. So for example highlight two rows that are equal, or a column of 3 identical squares, etc.
b) End the game when the board is full, but dock points for incorrect spaces, rather than force the player to go through the busywork of just toggling all squares that were wrong.
I'm wondering if multiple solutions can exist and the game will only accept one.
edit: oh - "no two rows are the same". fail. disregard this. must have clicked past that in the tutorial.
Another way to find the rules is to use the "eye" on every turn in a 6x6 or 10x10.
Enjoyed the game play and the graphics are very smooth and clean.
The rules don't explicitly say that columns need to be unique (only rows).
Within the stated rules there are (as best I can see) 2 valid solutions to that puzzle. It is the introduction of the unstated unique column rule that resolves it.
Also, the "fixed" tiles of the puzzle need to be presented in a different style from the "dynamic" tiles the user can set.
Is there a GitHub repo for this?
Outstanding work. This is an excellent, simple and original logic game, well done.
Only negative thing I experienced: it can be tough(/not particularly fun) to find similar rows/columns when playing on larger grids. And I don't feel like finding similar complex line patterns is where the game design esthetic shines. Not sure how you could solve this. Perhaps some sort of visualization of similarity of rows for larger grids? Say two rows are identical (minus missing tiles), then the same little icon could appear to the right of each row. Icons could be differentiated by shape, or color. Just an idea. Good work :)
Disclaimer: I'm a game designer
I did similarly in a sudoku game, it is an interesting exercise that then colors your thinking about error messages in future programming.
Great for a young person, but I would like to see a version with more rules and constraints to follow.
The UI and the UI feedback is outstanding though.
1. Look for a chance to play a block that wouldn't cause a chain of 3 colors together.
2. Look so see if the row or column has enough of a certain color in it.
3. Look to see if the row or column is a duplicate of another.
1 and 2 are easier to spot, but 3 is actually quite difficult and takes a lot of time to determine. On the 10x10, option 3 is almost never the determining case, probably because there are so many more possible configurations for a row or column, vs on a 6x6.
Take this one, for instance:
This puzzle has the unique solution shown below, but none of your three heuristics will make any progress on it. One of the ways you can solve this is to note that the square in the upper-left corner must be O. This is because if it were X, then there would be three adjacent Os in the first column. This insight is due to [email protected].That would actually make it easier, not harder. The more constrains you have the fewer possible options you have, and the easier the puzzle.
For example: I remove undo move, then you certainly have less choices but, the game is harder( even for a computer ), since you have to remember previous states which were previously accessible via undo.
That kinda limits the possible intellectual enjoyment from the game, though. Without the requirement for unique rows and columns, the game would become Simon Tatham's "Unruly" (http://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/unrul...), which is extremely fun because you need to think ahead :-)
There are puzzles of this type that require either backtracking or exceedingly complex heuristics. However, the site only seems to generate simple puzzles that do not require backtracking.
See https://news.ycombinator.com/item?id=8606098
iOS: https://itunes.apple.com/us/app/0h-h1/id936504196?mt=8 Android: https://play.google.com/store/apps/details?id=com.q42.ohhi
I don't understand what's wrong here.
The tutorial must use an example where unique rows/columns is the only way to resolve the choice...
Perhaps rather than pointing out which cells are wrong, highlight the group/row/column that break the rules instead. That might make it slightly harder.
If you are interested in those kind of puzzles there might be more logic puzzles on this page that you like.
Same for 1,2,4: 5 is of the opposite color otherwise 6-8 are of one color.
http://i.imgur.com/BU5L61L.png
Anyone see what the issue is? Been staring for 20 minutes . . .
The game should show the identical rows/columns instead of just highlighting every incorrect square... it can take a while to find out what's actually wrong with a solution.
https://github.com/Q42/0hh1
It's written in clingo (http://en.wikipedia.org/wiki/Answer_set_programming)
https://github.com/fogleman/OhHi/blob/master/main.py
No, my friend and I made that one. It can be solved without guessing, but it takes another heuristic beyond the three or so that people usually use. We also have ones that require guessing (can't be solved with any reasonable heuristics as far as we know.)
I learned clingo to solve puzzles and business scheduling problems. Check out my web site http://www.takingthefun.com for other games and puzzles I've solved with it.
I have found a correct solution, yet the game doesn't accept it:
B r r B
r B B r
B B r B
B r B r
The correct solution was:
B r r B
r B B r
B B r r
r r B B
My guess to this is that there are more than one solutions to the problem and checking if the board is solved is done by finding the first solution and comparing it to yours.
It seems like the solution is always unique, for a given starting point. Is this the case?
You'll also get a first-hand view of how screwed we are in the HTML5 "standards" department,
Just dive in and you'll get used to it soon enough. Html is really easy and JS is similar to other C-like languages, css is pretty hard if you're building complex applications IMO but things like LESS and SASS make it easier to deal with.
Looking at the source it looks like everything is hand rolled except for the jQuery dependency.
http://i.imgur.com/yzD9qFL.png
edit: I see you noticed.
Friendly reminder: launch iOS/Android version before someone else does
EDIT: The history is a little more interesting than that. The janko.at page on Tohu wa Vohu[2] names many pre-existing variants: Eins und Zwei, Binary Puzzles[3], Binoxxo, and others. Binary Puzzles are notable for being paper-and-pencil puzzles, but it's not clear whether these were first paper-and-pencil puzzles or computer puzzles.
[0] http://www.chiark.greenend.org.uk/~sgtatham/puzzles/doc/unru...
[1] https://chris.boyle.name/projects/android-puzzles/
[2] http://www.janko.at/Raetsel/Tohu-Wa-Vohu/index.htm
[3] http://www.puzzle-magazine.com/binary-puzzle-magazine.php