Live data from Hacker News

Show HN: RegEx Face Off – Beat your friends with regular expressions

regexfaceoff.com

1–10 of 41 posts

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#2
Sorry, this will be a negative review. This is easily the most frustrating game I've ever played. I can't test parenthesis because it tells me my time 'ran out' with 45 seconds on the clock. I could barely type 4 or 5 characters.

Edit: There are also XSS issues with the player name, you can execute Javascript in the other player's window. That's not good. I confirmed this since an image I scripted to load via HTML (POC player name:

  Rick

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#3
Really cool, enjoyed playing it for a while. Challenges you to practise your regex golf[1] skills. :)

There seem to be some bugs with the timing mechanisms, probably some JS timeouts aren't properly reset, causing weird game behaviour like running out of time mid-game (the countdown still displaying 10+ seconds). Also correct answers aren't always acknowledged (all icons show the answer to be correct, however it doesn't result in that player winning the game). :)

[1]: https://xkcd.com/1313/

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#5

Sorry, this will be a negative review. This is easily the most frustrating game I've ever played. I can't test parenthesis because it tells me my time 'ran out' with 45 seconds on the clock. I could barely type 4 or 5 characters. Edit: There are also XSS issues with the player name, you can execute Javascript in the other player's window. That's not good. I confirmed this since an image I scripted to load via HTML (…

Totally valid, sorry about that. Looks like I'm not clearing some js timeouts.

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#6
Agreed, awesome idea, needs a few bug fixes. Perhaps a description of the game mechanics. Some patterns match inaccurately, and I am also experiencing running out of time with 30+ seconds on the clock, as well as not getting credit for correctly matching patterns. I had fun nonetheless.

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#7
Agreed, awesome idea, needs a few bug fixes. Perhaps a description of the game mechanics. Some patterns match inaccurately, and I am also experiencing running out of time with 30+ seconds on the clock, as well as not getting credit for correctly matching patterns. I had fun nonetheless.

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#8

Sorry, this will be a negative review. This is easily the most frustrating game I've ever played. I can't test parenthesis because it tells me my time 'ran out' with 45 seconds on the clock. I could barely type 4 or 5 characters. Edit: There are also XSS issues with the player name, you can execute Javascript in the other player's window. That's not good. I confirmed this since an image I scripted to load via HTML (…

I gave up after 2-3 games as well. Time kept running out in three seconds. The semantics are also murky, what do I need to match? The regex doesn't assume ^$, but then do I need to match all intermediate characters? Or just some of them? Or what?

Also, the UI is bad, there's a "match" column with a tick and an x, and you get the tick when you match good regexes and the x when you match bad ones. However, why is the column called "match", then? It should have the tick when a regex matches and the x when it doesn't.

Great idea, very frustrating execution.

Re: Show HN: RegEx Face Off – Beat your friends with regular expressions

#10
post #4

My strategy of "capture the last two characters of each input in the accept group followed by $" hasn't failed yet, and is quick to input and requires no thought. Though I wouldn't say I'm practicing any practical RegEx skills doing so. :P

There are a few questions that this strategy won't work on already. Guess I'll have to think up some more.
Post reply on HN