Weekend – Verilog Programming Challenge – Test your Verilog skills this weekend.

video-1
Do you remember WPC (weekend programming challenge). All problems are on GitHub.

I still get e-mail from people asking why we did stop it, the answer is simple: we just ran out of ideas what challenges in programming to ask you.

You guys were so good and for the last challenges I always had impression that we already have solved something like this.

Now you know I have new toys – iCE40 FPGAs and learning Verilog, so I have few ideas for challenge people like me who want to learn Verilog.

Here is our first challenge: Two days ago I posted tutorial how to program VGA video generator and to move one square on the screen with keyboard.

The challenge for this weekend is: modify the code from GitHub to display ball instead of square 🙂

You have time to Monday to solve this and submit your solution to info@olimex.com.

In Monday I will upload all ideas on GitHub and comment.

Have fun!

Weekend Programming Challenge – Week #71 Solutions

We got 3 solutions this weekend!

  • C# x1
  • Python x1
  • C x1

You can browse them on GitHub as usual.

Weekend Programming Challenge – Week #71 Knock Lock

cat_004_knockknock

Problem:

Make code which implements knock pattern recognition for door open/close. There must be option to learn knock sequence.

Then every time when this sequence is implemented door lock opens and you signal this.

To simplify the lock we assume between knocks there will be only two intervals short and long.

For instance your code should be able to “learn” this sequence: knock-short-knock-short-knock-long-knock-long-knock-long-knock i.e. three fast and three slow knocks and this to open the door.

For knock detecting you can use SPACE key press for instance.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday December 7th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Weekend Programming Challenge – Week #70 Math with Words Solutions

We got 6 solutions this weekend:

  • Python x4
  • Scheme x1
  • C++ x1

All solutions are on GitHub.

Sorry for the late update, but we are working these days on so many exciting and new projects that time is sliping away … 🙂

Weekend Prorgraming Challenge – Week #70 Math with words

math

Problem:

Make code which enters expression like “3525 + 133 =” and solve it. Easy right? Here is the catch is that numbers and operations are replaced by their words equivalents.

Please support numbers up to 1 000 000 and these operators + – * /

Example:

input: “three thousands five hundreds and twenty five plus one hundred and thirty three is equal to”
output: “3658”

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 30th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Weekend Programmable Challenge – Week #69 – Levenstein distance

We got 7 solutions this weekend:

  • Python x2
  • C++ x2
  • Lisp x1
  • Php x1
  • C# x1

You can enjoy the solutions on GitHub as usual.

Weekend Programming Challenge – Week #69 Levenshtein Distance

74bc0fa858652701ff47bfd125c83eeb

Problem:

Levenshtein Distance  is string metrics for measuring the difference between two sequences. Make code which inputs two strings and calculate Levenshtein Distance between them.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 18th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

 

Weekend Programming Challenge – Week #68 Text Formatting

non-formatedformatted

Problem:

Input text and width, then format the text in this width to be with no spaces at the end of the line. You can use this text to test your code

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 9th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Weekend Programming Challenge – Week #67 Solutions

book-pages

We got 25 solutions!

  • Python x10
  • C x4
  • C++ x4
  • Java x2
  • Ruby x1
  • JavaScript x1
  • Nimrod x1
  • Php x1
  • Perl x1

The solutions are on Github as usual.

Weekend Programming Challenge – Week #67 Missing pages in book

book-pages

Problem:

There is a book and a number of consecutive pages are missing from this book. All we know is that the sum of the page numbers of these pages is 9808.
Make code which calculates which are the missing pages and displays the result.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday October 5th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Previous Older Entries