22
\$\begingroup\$

Last time we created and reviewed Simon Says games, and that was a lot of fun.

So, what should we do this time? Feel free to resubmit non-winning ideas from previous rounds, although new ideas are usually more successful.

  • Post an answer to this question with your challenge
  • Vote for those answers which interest you
  • At the end-of-day on Thursday, April 9th, the most-voted post will become the next .

Once the challenge topic is decided, you can post questions on the main-site related to the challenge. The idea is to run the challenge all the way through April... although nothing stops you from posting an "entry" later than that :)

\$\endgroup\$
2
  • \$\begingroup\$ The entrys would work well as community wikis... What do you think? \$\endgroup\$
    – Cullub
    Commented Apr 17, 2015 at 18:18
  • \$\begingroup\$ @cullub on the main site? If it didn't mean reviewers get 0 rep for their high-visibility answers, I would agree, but... \$\endgroup\$ Commented Apr 17, 2015 at 18:28

3 Answers 3

25
\$\begingroup\$

Re-Nominating this one, because I think it's a fun little challenge.

https://codereview.meta.stackexchange.com/a/3786/41243

Implement a simple calculator

Where the definition of "simple" is whatever you make it - only supports basic arithmetic operators? Fine. It supports scientific notation, exponents and trigonometry? Fine! Takes input from the console? Fine! Toggle between binary, hex, octal and decimal notations? Fine!

The common denominator here, is that you need:

  • A way to take user input
  • A way to parse/validate user input
  • A way to perform the operations in the input
  • A way to output the result(s)

Everything else you want to put in, is up to you and the time you can devote to this small project in the limited number of days we have until April is over - be creative!


One small amendment to the original challenge, that was hashed out in the comments.

If your language basically is a calculator (Here's looking at you ) or your language supports an Eval() function, using those features as explicitly excluded.

Challenge entries

\$\endgroup\$
8
  • \$\begingroup\$ I'm voting for this one. \$\endgroup\$
    – nhgrif
    Commented Apr 2, 2015 at 23:31
  • \$\begingroup\$ nooooooooooo \$\endgroup\$
    – Morwenn
    Commented Apr 3, 2015 at 8:06
  • \$\begingroup\$ @Morwenn??? Not another calculator? \$\endgroup\$
    – RubberDuck
    Commented Apr 3, 2015 at 9:13
  • 3
    \$\begingroup\$ @RubberDuck I remember a time when we had 10 calculators a week posted on CR. \$\endgroup\$
    – Morwenn
    Commented Apr 3, 2015 at 9:25
  • \$\begingroup\$ I must have not been around yet @Morwenn. Sounds like the awful FizzBuzz invasion last summer. \$\endgroup\$
    – RubberDuck
    Commented Apr 3, 2015 at 9:26
  • 7
    \$\begingroup\$ @RubberDuck Or the constant linked-list invasion endemic to Code Review. \$\endgroup\$
    – Morwenn
    Commented Apr 3, 2015 at 9:28
  • \$\begingroup\$ codereview.stackexchange.com/q/67480/47826 \$\endgroup\$
    – JaDogg
    Commented Apr 3, 2015 at 12:35
  • \$\begingroup\$ Really good idea that can be approached from all skill levels! You got my vote. \$\endgroup\$ Commented Apr 10, 2015 at 19:32
4
\$\begingroup\$

Resurrect the Stack Eggs!

If you missed them:

stack egg

  • User must make a selection each round before a 20 second timer finishes
  • Selections influence some metrics
  • Some options unlock at later stages in the game
  • The number of people playing influences the number of votes needed each round (optional for this challenge?)
\$\endgroup\$
7
  • 1
    \$\begingroup\$ I like this. I bet there will even be an on-site playable version that leverages Stack Snippets! \$\endgroup\$ Commented Apr 2, 2015 at 18:41
  • \$\begingroup\$ I was thinking of that. \$\endgroup\$
    – user34073
    Commented Apr 2, 2015 at 18:41
  • 5
    \$\begingroup\$ For the record, the real StackEggs source has been published here: github.com/StackExchange/stackegg \$\endgroup\$ Commented Apr 2, 2015 at 19:58
  • \$\begingroup\$ @SimonAndréForsberg hmm I guess that kinda ruins it eh \$\endgroup\$ Commented Apr 3, 2015 at 0:31
  • 4
    \$\begingroup\$ Why would that ruin it? Not everyone knows C#. Besides, past suggestions have been written hundreds of times before. It wouldn't be hard to find a repo in your language of choice to draw inspiration from. \$\endgroup\$
    – cimmanon
    Commented Apr 6, 2015 at 19:46
  • \$\begingroup\$ Isn't this the minigame that slowed SE a lot and that anyone could win by not playing it for a while? \$\endgroup\$ Commented Apr 6, 2015 at 22:47
  • 2
    \$\begingroup\$ we could rags to riches the code? \$\endgroup\$
    – Malachi
    Commented Apr 9, 2015 at 16:45
-1
\$\begingroup\$

Implement your own version of the ls command on UNIX/POSIX systems. Should be able to handle the -l and -a command line arguments. You can, or are expected to, use the built in POSIX library functions or system calls.

\$\endgroup\$
2
  • 4
    \$\begingroup\$ this seems a little too localized \$\endgroup\$
    – Malachi
    Commented Apr 9, 2015 at 16:44
  • \$\begingroup\$ Sounds like an exam question I had once. \$\endgroup\$
    – Nick Udell
    Commented Apr 21, 2015 at 15:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .