🌱 3hrs of practice is < 2% of your week that can make the 98% better.
Without taking a lot of time away from your studies, working on sharpening your problem-solving skills through computer programming and working on pico-projects, consistently, will bear fruit far outweighing the time investment.
It's not what we do once in a while that shapes our lives, but what we do consistently. — Tony Robbins
Without taking a lot of time away from your studies, working on sharpening your problem-solving skills through computer programming and working on pico-projects, consistently, will bear fruit far outweighing the time investment.
It's not what we do once in a while that shapes our lives, but what we do consistently. — Tony Robbins
📣 Weekly Coding Challenges
Each Friday, after school, easy but interesting problems which can be solved in a couple of hours will be posted.
Possible solutions of each week's challenges will be posted a week after so that you may compare solutions and learn from any mistakes or alternative approaches.
Each Friday, after school, easy but interesting problems which can be solved in a couple of hours will be posted.
Possible solutions of each week's challenges will be posted a week after so that you may compare solutions and learn from any mistakes or alternative approaches.
⚙️ Nature of the Challenges
They will include anything from lite games to technology emulations, from artistic generative illustrations to useful handy tools, from inspiring small apps to any fitting suggestion of your own.
These challenges will hopefully be something we'll all look forward to saying #TGIF by the end of each week.
They will include anything from lite games to technology emulations, from artistic generative illustrations to useful handy tools, from inspiring small apps to any fitting suggestion of your own.
These challenges will hopefully be something we'll all look forward to saying #TGIF by the end of each week.
👍1
🏆 Leaderboard
With every line of code you write, level up as a developer and problem-solver and earn points of recognition on your way to the Leaderboard; a testament of your unwavering dedication and coding skills.
Parameters/Categories:
- Speed to output/Efficiency
- Shortness of code
- Clarity of code
- Most consistent
- Most improved
- Early to submission
With every line of code you write, level up as a developer and problem-solver and earn points of recognition on your way to the Leaderboard; a testament of your unwavering dedication and coding skills.
Parameters/Categories:
- Speed to output/Efficiency
- Shortness of code
- Clarity of code
- Most consistent
- Most improved
- Early to submission
🏆 Is this a competition?
Of course NOT. WeeklyCoder is to serve as a place where programming challenges are posted for no other reason than the sake of practice.
It wouldn't be one way either. It is to be a place where members share their own creations outside of those posted here as well.
It may feel like there's a prize waiting at the end, but the prize is the path and who'd benefit is YOU.
The journey is what matters and who you'd become as a result is the point of it all.
Of course NOT. WeeklyCoder is to serve as a place where programming challenges are posted for no other reason than the sake of practice.
It wouldn't be one way either. It is to be a place where members share their own creations outside of those posted here as well.
It may feel like there's a prize waiting at the end, but the prize is the path and who'd benefit is YOU.
The journey is what matters and who you'd become as a result is the point of it all.
🪨 Rock, Paper, Scissors
The rule is simple. Rock beats scissors, scissors beat paper, and paper beats rock. Code the rules, create visuals, and bring the thrill of this classic game to life.
🛠 What do I create it with?
With a language and environment of your choice. The goal is for you to learn new things through this.
⚙️ Find all details of the game here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 1
The rule is simple. Rock beats scissors, scissors beat paper, and paper beats rock. Code the rules, create visuals, and bring the thrill of this classic game to life.
🛠 What do I create it with?
With a language and environment of your choice. The goal is for you to learn new things through this.
⚙️ Find all details of the game here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 1
👍2
🗃 -- --- .-. ... .Morse Code played a vital role in World War II, introduced the SOS distress signal, facilitated the first transatlantic Telegraph message, and aided communication during the Titanic disaster.
💡 Get creative, create visuals, and reignite the excitement of this communication system from the early 19th century.
🛠 What do I create with it?
Anything. Whether it be the classic text to Morse Code or something visual, auditory, +, this one's up to you.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 2
Words of Wisdom
Code your way to wisdom by devising an effective way to introduce powerful quotes into your life.
💡 Whether it is a random quote fetcher, a daily quote shower, a live wallpaper for your phone or computer, or a bot to ping you with words of wisdom each morning, put your code skills to inspirational use and get creative as you create a reminder of timeless wisdom.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 3
Code your way to wisdom by devising an effective way to introduce powerful quotes into your life.
💡 Whether it is a random quote fetcher, a daily quote shower, a live wallpaper for your phone or computer, or a bot to ping you with words of wisdom each morning, put your code skills to inspirational use and get creative as you create a reminder of timeless wisdom.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 3
👍2
🍫 Progress Bars
Did it just crash? Is it stack? Only the progress bar can unveil the truth. Code one and banish all doubt!
💡 Whether you're downloading files, installing a software, waiting for a web page to load, +, they're everywhere. Progress bars inform about the status of things and reduce uncertainty. They are visual indicators showing the advancement of tasks/processes.
👩⚖️ The rule is simple, use the resources provided to clone the loading animation as closely as you can.
Dive deeper into visuals and code progress bars your way. As a sample, use the progress bar of LinkedIn. Click here to play the animation.
🎥 Find the animation here.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 4
Did it just crash? Is it stack? Only the progress bar can unveil the truth. Code one and banish all doubt!
💡 Whether you're downloading files, installing a software, waiting for a web page to load, +, they're everywhere. Progress bars inform about the status of things and reduce uncertainty. They are visual indicators showing the advancement of tasks/processes.
👩⚖️ The rule is simple, use the resources provided to clone the loading animation as closely as you can.
Dive deeper into visuals and code progress bars your way. As a sample, use the progress bar of LinkedIn. Click here to play the animation.
🎥 Find the animation here.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 4
🎴 Terni Lapilli
Code to liven up this Egyptian game from the 1300 BC often called Tic-Tac-Toe ( O - X )!
💡 Often played on a 3x3 grid, players of this game take turns marking empty squares with their respective symbols, usually X and O.
The objective is to get three of their symbols in a row, either horizontally, vertically, or diagonally. The first player to achieve this wins the game. And if no winner the game is a draw.
👩⚖️ The rule is simple. Be the first player to get your symbol in a row.
🎮 Play tic-tac-toe here.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 5
Code to liven up this Egyptian game from the 1300 BC often called Tic-Tac-Toe ( O - X )!
💡 Often played on a 3x3 grid, players of this game take turns marking empty squares with their respective symbols, usually X and O.
The objective is to get three of their symbols in a row, either horizontally, vertically, or diagonally. The first player to achieve this wins the game. And if no winner the game is a draw.
👩⚖️ The rule is simple. Be the first player to get your symbol in a row.
🎮 Play tic-tac-toe here.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 5
🧩 Lingo Dash | Vocabulary Game
Bring to life this graphics of a brand new game as closely and neatly as you can.
💡 Provided the design (see comments), the task of this week is to lay the foundations for a game to be built in the weeks to follow.
👩⚖️ Rule of the game: is to be refined further as we go along creating it. For now though, let you make guesses from the graphics.
🏆 As a recognition of efforts in this series, the best version of the game will be used during Foka Book Club's meetup game sessions.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 6
Bring to life this graphics of a brand new game as closely and neatly as you can.
💡 Provided the design (see comments), the task of this week is to lay the foundations for a game to be built in the weeks to follow.
👩⚖️ Rule of the game: is to be refined further as we go along creating it. For now though, let you make guesses from the graphics.
🏆 As a recognition of efforts in this series, the best version of the game will be used during Foka Book Club's meetup game sessions.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 6
🥛 Modest Dictionary
This week, let's attempt to make a simple dictionary.
Stepping back from last week's seemingly daunting game, let's break it down and make a simple dictionary that accepts a WORD to lookup (through a simple input dialog box) and print out the MEANING on the console. That's it.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📖 Find the simplified source as a .txt file here.
📄 Get started using this code.
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 7
This week, let's attempt to make a simple dictionary.
Stepping back from last week's seemingly daunting game, let's break it down and make a simple dictionary that accepts a WORD to lookup (through a simple input dialog box) and print out the MEANING on the console. That's it.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📖 Find the simplified source as a .txt file here.
📄 Get started using this code.
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 7
👋 Hey exam takers,
1 minute challenge is what we have this week.
So easy you could finish it before you draw the next breath!
2 Steps:
1 - Download the pre-written code from here
2 - Modify it so that it selects a random
✏️ Bonus: Add more words from your English class vocabulary and use it to prepare for your exam!
🎖 Will you be one the first few members to take part in this one minute coding challenge?
Keep the momentum going!
@WeeklyCoder | Week 8
1 minute challenge is what we have this week.
So easy you could finish it before you draw the next breath!
2 Steps:
1 - Download the pre-written code from here
2 - Modify it so that it selects a random
word from the list of given words to be displayed whenever there's a mouse release.✏️ Bonus: Add more words from your English class vocabulary and use it to prepare for your exam!
🎖 Will you be one the first few members to take part in this one minute coding challenge?
Keep the momentum going!
@WeeklyCoder | Week 8
⌚️ Stopwatch
A tiny bit tricky challenge this week.
💡 Whether to track your study or book reading sessions, fitness goals, practice for a presentation, or else, a stop watch can be incredibly handy.
Where to start?
1 - Let you represent the key 'S' to Start / Stop a timer that starts from 00:00:00
2 - Let pressing the [SPACEBAR] Pause / Resume it.
✏️ Bonus: Convert the keys to clickable buttons. Introduce a lap timer. Save the data? How about multiple stop watches to track multiple things?
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 9
A tiny bit tricky challenge this week.
💡 Whether to track your study or book reading sessions, fitness goals, practice for a presentation, or else, a stop watch can be incredibly handy.
Where to start?
1 - Let you represent the key 'S' to Start / Stop a timer that starts from 00:00:00
2 - Let pressing the [SPACEBAR] Pause / Resume it.
✏️ Bonus: Convert the keys to clickable buttons. Introduce a lap timer. Save the data? How about multiple stop watches to track multiple things?
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 9
🕛 Analog Clock
What time is it? It's Polar Coordinate Time, of course.
💡 Moving past reading time as figures, let's depict it as analog clock with hands [H : M : S].
Where to start?
- Let you represent just one of the hands, seconds for instance, as a hand. Use sin (), cos ()
Recommended studying:
- Polar Coordinates [tutorial video]
✏️ Bonus:
- Could you make the hands move smoothly (just like this video)?
- How about using some APIs or hardcoding time differences to depict World Clock with Multiple Time Zones?
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 10
What time is it? It's Polar Coordinate Time, of course.
💡 Moving past reading time as figures, let's depict it as analog clock with hands [H : M : S].
Where to start?
- Let you represent just one of the hands, seconds for instance, as a hand. Use sin (), cos ()
Recommended studying:
- Polar Coordinates [tutorial video]
✏️ Bonus:
- Could you make the hands move smoothly (just like this video)?
- How about using some APIs or hardcoding time differences to depict World Clock with Multiple Time Zones?
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 10
🔥1
🗂 Directory Shortener
Here's a multi-week challenge for ya.
🥅 Goal: to simplify directory navigation. It is to allow users to create and use custom shortcuts for quick access to specific folders. Much like a URL shortener; but for folders.
🎁 Benefit: reduced the time spent on navigating lengthy directory paths.
💡 Question: Yes, you could make shortcuts of the folders but if you have more than a handful, you'll find them cluttering your desktop.
🆚 Difference: Through this tool, however, the goal is to have an instantly accessible search bar on which shortcodes can be entered leading to opening of corresponding folders.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 11
Here's a multi-week challenge for ya.
🥅 Goal: to simplify directory navigation. It is to allow users to create and use custom shortcuts for quick access to specific folders. Much like a URL shortener; but for folders.
🎁 Benefit: reduced the time spent on navigating lengthy directory paths.
💡 Question: Yes, you could make shortcuts of the folders but if you have more than a handful, you'll find them cluttering your desktop.
🆚 Difference: Through this tool, however, the goal is to have an instantly accessible search bar on which shortcodes can be entered leading to opening of corresponding folders.
⚙️ Find all details of this week's challenge here. Fork it on GitHub (or download it) and build on!
📅 Submissions: Sunday, 12:00 LT Morning
🪁 Send your submissions in the comments (the .zip file or the link to your fork).
@WeeklyCoder | Week 11
👍1
🎄 Christmas Wallpapers Slideshow
Make Christmas feel Christmas with a slideshow of tasty photos!
🥅 Goal: To make the
~100 Christmas themed photos be displayed fullScreen () and loop one after another while you cozy up and enjoy the show.
Download the images (zipped) here.
✏️ Recommended studying:
-
-
🦶 Quick Start:
- Get the starting code here [with all images | just the code]
✨ Make it even more exciting:
- Add controls: LEFT key for Previous image and RIGHT key for Next
- Add transitions [Slide Left/Right/Up/Down | Fade In/Out | Crossfade | +]
- Add Christmas spirited music to play in the background
- Make it into a live wallpaper using APDE
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 12
Make Christmas feel Christmas with a slideshow of tasty photos!
🥅 Goal: To make the
~100 Christmas themed photos be displayed fullScreen () and loop one after another while you cozy up and enjoy the show.
Download the images (zipped) here.
✏️ Recommended studying:
-
PImage, requestImage (), loadImage ()-
blend (), mask ()🦶 Quick Start:
- Get the starting code here [with all images | just the code]
✨ Make it even more exciting:
- Add controls: LEFT key for Previous image and RIGHT key for Next
- Add transitions [Slide Left/Right/Up/Down | Fade In/Out | Crossfade | +]
- Add Christmas spirited music to play in the background
- Make it into a live wallpaper using APDE
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 12
🖇 Seven Million Three Hundred Twenty One Thousand Three Hundred and Sixty-Four
That's how long it has been since the creation of @WeeklyCoder — in seconds.
Got a straight forward challenge practice for ya this week.
🥅 Goal: Make a number to Words converter. A user enters a number (as figures) and your program converts it to text (as words). Here's an example.
✏️ Recommended studying:
-
-
🦶 Quick Start:
- Get the quick-start code here.
✨ Make it even more exciting:
- let it handle negative numbers
- let it handle decimal point
- make it into a quiz game and let your young siblings learn [A number appears as text of a randomly generated integer and they get to type it out as figures]
- twist it into currency conversion [use APIs? Resource 1 | Resource 2]
📅 Submissions: Sunday, 12:00 LT Afternoon
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 13
That's how long it has been since the creation of @WeeklyCoder — in seconds.
Got a straight forward challenge practice for ya this week.
🥅 Goal: Make a number to Words converter. A user enters a number (as figures) and your program converts it to text (as words). Here's an example.
✏️ Recommended studying:
-
arrays, stringList, stringDict ()-
% (modulo), / (division)🦶 Quick Start:
- Get the quick-start code here.
✨ Make it even more exciting:
- let it handle negative numbers
- let it handle decimal point
- make it into a quiz game and let your young siblings learn [A number appears as text of a randomly generated integer and they get to type it out as figures]
- twist it into currency conversion [use APIs? Resource 1 | Resource 2]
📅 Submissions: Sunday, 12:00 LT Afternoon
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 13
🍋 Matches of the Lemon!
Got such a simple and easy game for you this week!
📗 With the price of lemons skyrocketing, people may soon resort to digital matchmaking during Ketera.
🥅 Goal: To create a simple random number guessing game but with a twist of Lemons.
🐾 Steps: Let three identical lemons appear on the screen when the game starts. A player clicks on any at random and find out if they're in luck for a sweet match.
✏️ Recommended learning:
-
-
-
🦶 Quick Start:
- Get the quick-start code from here.
✨ Make it more exciting:
- Give a second chance for first wrong guesses
- Introduce stages such that a winner is a player who guessed three stages in a row
- Multiplayer mode where you secretly select a lemon and let a someone else find it. It's a match if it's a match! ;)
📅 Submissions: Sunday, 12:00 LT Afternoon
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 14
Got such a simple and easy game for you this week!
📗 With the price of lemons skyrocketing, people may soon resort to digital matchmaking during Ketera.
🥅 Goal: To create a simple random number guessing game but with a twist of Lemons.
🐾 Steps: Let three identical lemons appear on the screen when the game starts. A player clicks on any at random and find out if they're in luck for a sweet match.
✏️ Recommended learning:
-
PImage, loadImage ()-
mouseReleased ()-
loops🦶 Quick Start:
- Get the quick-start code from here.
✨ Make it more exciting:
- Give a second chance for first wrong guesses
- Introduce stages such that a winner is a player who guessed three stages in a row
- Multiplayer mode where you secretly select a lemon and let a someone else find it. It's a match if it's a match! ;)
📅 Submissions: Sunday, 12:00 LT Afternoon
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 14
🧑🌾 Alleles Alleles Alleles
Challenge for this week is so light and easy it can hardly stay grounded.
💡 Intro: An allele is one of multiple versions of DNA sequence at a given genomic location.
🥅 Goal: Given a genotype (represented by a pair of alleles, e.g. GG) as input from a user, display the conditions for that genotype. i.e. whether an individual is Homozygous* or Heterozygous** for that allele.
*Homozygous: If the two alleles are the same, e.g., DD
**Heterozygous: If the alleles are different, e.g., Dd
🐾 Steps: Take a two character String input from a user. Compare the two characters to decide the condition of the genotype.
✏️ Recommended learning:
-
-
🦶 Quick Start:
- Get the quick-start code from here.
✨ Just a dab of challenge:
- Determine also whether the genotype expressed is Dominant or Recessive.
📅 Submissions: Sunday, 12:00 LT Afternoon
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 15
Challenge for this week is so light and easy it can hardly stay grounded.
💡 Intro: An allele is one of multiple versions of DNA sequence at a given genomic location.
🥅 Goal: Given a genotype (represented by a pair of alleles, e.g. GG) as input from a user, display the conditions for that genotype. i.e. whether an individual is Homozygous* or Heterozygous** for that allele.
*Homozygous: If the two alleles are the same, e.g., DD
**Heterozygous: If the alleles are different, e.g., Dd
🐾 Steps: Take a two character String input from a user. Compare the two characters to decide the condition of the genotype.
✏️ Recommended learning:
-
.charAt ()-
.toUpperCase (), toLowerCase (), .equals ()🦶 Quick Start:
- Get the quick-start code from here.
✨ Just a dab of challenge:
- Determine also whether the genotype expressed is Dominant or Recessive.
📅 Submissions: Sunday, 12:00 LT Afternoon
🪁 Send your submissions in the comments.
@WeeklyCoder | Week 15