๐ด 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
โ It's Punnett Square Time!
Punnett squares measure the probability of a genetic outcome resulting from a genetic cross.
๐ฅ Goal: Given two genotype (represented by pairs of alleles, eg. TT and Tt) as input from a user, display the possible combinations of alleles of two parents.
๐พ Steps: Start with taking two character String inputs from a user. Cross them and print the output on console or canvas. Count the resulting offspring's types and display probabilities for each.
โ๏ธ Recommended learning:
-
-
-
-
๐ Resources:
- Example: here
- Short video (<3min): here
- Articles: Here 1 | Here 2
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Dabs of challenges: here
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 16
Punnett squares measure the probability of a genetic outcome resulting from a genetic cross.
๐ฅ Goal: Given two genotype (represented by pairs of alleles, eg. TT and Tt) as input from a user, display the possible combinations of alleles of two parents.
๐พ Steps: Start with taking two character String inputs from a user. Cross them and print the output on console or canvas. Count the resulting offspring's types and display probabilities for each.
โ๏ธ Recommended learning:
-
Escape Sequence-
.charAt ()-
.toUpperCase (), toLowerCase (), .equals ()-
for loops, arrays, selection statements๐ Resources:
- Example: here
- Short video (<3min): here
- Articles: Here 1 | Here 2
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Dabs of challenges: here
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 16
๐ช Confidence comes after mastering the fundamentals.
I look back to Times Table as one of the first things that started my love for Math back in elementary school.
The sense of accomplishment that came with memorizing and understanding the times table sparked my curiosity and enthusiasm for exploring further mathematical ideas and challenges.
๐ก Not to be mistaken for being too easy to do, this week's coding challenge dares you to be creative while creating the humble Times Table.
๐ฅ Goal: To create a program that generates and displays the times table for any given range of numbers. For instance, an input of 12 would generate and display a 12 x 12 Times Table.
โ๏ธ Recommended Learning:
-
-
-
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Dabs of challenges: here
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 17
I look back to Times Table as one of the first things that started my love for Math back in elementary school.
The sense of accomplishment that came with memorizing and understanding the times table sparked my curiosity and enthusiasm for exploring further mathematical ideas and challenges.
๐ก Not to be mistaken for being too easy to do, this week's coding challenge dares you to be creative while creating the humble Times Table.
๐ฅ Goal: To create a program that generates and displays the times table for any given range of numbers. For instance, an input of 12 would generate and display a 12 x 12 Times Table.
โ๏ธ Recommended Learning:
-
for loop-
textSize (), textAlign ()-
textFont (), createFont ()๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Dabs of challenges: here
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 17
๐ Fibonacci Time!
Got ya a breeze this week!
๐ก The Fibonacci sequence can be used to describe the number of petals on a flower, paintings, structural design, human anatomy, and more.
๐ It is a sequence in which each number is the sum of the two preceding ones.
It begins like this: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
๐ฅ Goal: Print the first n Fibonacci sequence.
โ๏ธ Recommended Learning:
-
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more exciting:
- Check whether a given number is a Fibonacci number
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 18
Got ya a breeze this week!
๐ก The Fibonacci sequence can be used to describe the number of petals on a flower, paintings, structural design, human anatomy, and more.
๐ It is a sequence in which each number is the sum of the two preceding ones.
It begins like this: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
๐ฅ Goal: Print the first n Fibonacci sequence.
โ๏ธ Recommended Learning:
-
for loop๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more exciting:
- Check whether a given number is a Fibonacci number
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 18
๐2
โ Wait! But can you divide?
Easy as it is, don't mistake this week's challenge for being too straight forward.
๐ฅ Goal: Make a program to keep dividing two given numbers until a given number of digits are obtained after the decimal point โ just as you would do a long division by hand.
Find example and more here.
๐ง Needless to say, the point is not the answer but your approach. Seek not for a shortcut with this one.
๐งช Testing numbers: 31/13, 1089/23
โ๏ธ Recommended Learning:
-
- Arithmetic operators (esp.
- Division by Integer
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Make it into a function that returns a String. Eg: divide (31, 13, 50) to mean 31/13 and give 50 digits after the decimal point.
- Support for floating point inputs
- Support for negative numbers
- Handle exceptions such as division by 0
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 19
Easy as it is, don't mistake this week's challenge for being too straight forward.
๐ฅ Goal: Make a program to keep dividing two given numbers until a given number of digits are obtained after the decimal point โ just as you would do a long division by hand.
Find example and more here.
๐ง Needless to say, the point is not the answer but your approach. Seek not for a shortcut with this one.
๐งช Testing numbers: 31/13, 1089/23
โ๏ธ Recommended Learning:
-
loops- Arithmetic operators (esp.
/ % )- Division by Integer
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Make it into a function that returns a String. Eg: divide (31, 13, 50) to mean 31/13 and give 50 digits after the decimal point.
- Support for floating point inputs
- Support for negative numbers
- Handle exceptions such as division by 0
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 19
๐ด "10แฅแญ แซแแฝ 50แฅแญ แแแแตแแฝ"
That's a typical reply of minibus conductors when they're given higher denominations above the total fare.
As they are often short of changes (as smaller denominations), they would much rather give back changes as higher denominations.
Click here to find an illustrative example case.
๐ฅ Goal: To enable a more efficient management of change (of smaller denominations).
๐ก Consider Denominations (ETB):
1, 5, 10, 50, 100, and 200
โ๏ธ Task: Click here to get the specific tasks for this coding challenge.
โ๏ธ Recommended Learning:
- Selection statements (
- Arithmetic operators (
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Consider where TA is < TF
- When does this technique not work
- Handle cases of Eg: TF: 370, TA: 400, AA: 20 HC: 50
- Sharing amongst multiple passengers
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 20
That's a typical reply of minibus conductors when they're given higher denominations above the total fare.
As they are often short of changes (as smaller denominations), they would much rather give back changes as higher denominations.
Click here to find an illustrative example case.
๐ฅ Goal: To enable a more efficient management of change (of smaller denominations).
๐ก Consider Denominations (ETB):
1, 5, 10, 50, 100, and 200
โ๏ธ Task: Click here to get the specific tasks for this coding challenge.
โ๏ธ Recommended Learning:
- Selection statements (
if, else if, else | Ternary Operator (? :)- Arithmetic operators (
+ -)๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Consider where TA is < TF
- When does this technique not work
- Handle cases of Eg: TF: 370, TA: 400, AA: 20 HC: 50
- Sharing amongst multiple passengers
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 20
๐ช Who is the goddess of love?
She is a sign of beauty, fertility, and victory. For her, the Sun 'rises' in the West and sets in the East. โ Venus, the planet.
One disorienting fact about Venus is that, a "day" there is 243 Earth days. What's more is, a year (one trip around the Sun) there is only 225 Earth days. Shorter than her own day!
๐ฅ Goal: Given your age on Earth, write a program to accurately calculate how old you would be on Venus:
- [1] based on its day
- [2] based on its year
โ๏ธ Recommended Learning:
- Variables
- Arithmetic operators (
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Let your input be a date of birth (dd-mm-yyyy) than age
- Put the results in the format i Years, j Months, k Days
- Add Hours, Months, and Seconds
๐ Submissions: 30 Earth Hours away
๐ช Send your submissions in the comments.
Happy Women's Day!
@WeeklyCoder | Week 21
She is a sign of beauty, fertility, and victory. For her, the Sun 'rises' in the West and sets in the East. โ Venus, the planet.
One disorienting fact about Venus is that, a "day" there is 243 Earth days. What's more is, a year (one trip around the Sun) there is only 225 Earth days. Shorter than her own day!
๐ฅ Goal: Given your age on Earth, write a program to accurately calculate how old you would be on Venus:
- [1] based on its day
- [2] based on its year
โ๏ธ Recommended Learning:
- Variables
- Arithmetic operators (
+-*/)๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Let your input be a date of birth (dd-mm-yyyy) than age
- Put the results in the format i Years, j Months, k Days
- Add Hours, Months, and Seconds
๐ Submissions: 30 Earth Hours away
๐ช Send your submissions in the comments.
Happy Women's Day!
@WeeklyCoder | Week 21
๐2
๐ Resist Colorfully
Some have 4 bands, some 5, and some 6. The higher the number, the more accurate the value.
Color codes for resistors provides a visual method for quickly identifying the resistance value of a resistor. It's universal, easy to manufacture, familiar, and convenient.
๐ฅ Goal: Given band colors, determine the resistance in ohms.
๐จ Color Chart here
โ๏ธ Recommended Learning:
-
-
-
-
๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Give users the option to insert 4, 5, or 6 color banded resistors.
๐ Resistor Color Code website
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 22
Some have 4 bands, some 5, and some 6. The higher the number, the more accurate the value.
Color codes for resistors provides a visual method for quickly identifying the resistance value of a resistor. It's universal, easy to manufacture, familiar, and convenient.
๐ฅ Goal: Given band colors, determine the resistance in ohms.
๐จ Color Chart here
โ๏ธ Recommended Learning:
-
Arrays-
ComboBox-
equals ()-
for loop๐ฆถ Quick Start:
- Get the quick-start code from here.
โจ Make it more robust:
- Give users the option to insert 4, 5, or 6 color banded resistors.
๐ Resistor Color Code website
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 22
โฐ So you think you can loop?
You really can't go wrong with mastering the fundamentals in computer programming.
Put your looping skills to the test and get creative with this week's 'pattern' creation challenge!
๐ฅ Goal: Recreate a set of patterns with loops and selection statements.
๐จ Pattern here
โ๏ธ Recommended Learning:
-
-
-
-
-
๐ Special thanks to:Ethio Telecom for sponsoring delaying the posting of this week's challenge.
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 23
You really can't go wrong with mastering the fundamentals in computer programming.
Put your looping skills to the test and get creative with this week's 'pattern' creation challenge!
๐ฅ Goal: Recreate a set of patterns with loops and selection statements.
๐จ Pattern here
โ๏ธ Recommended Learning:
-
loops-
selection statements-
variables-
for loop-
arithmetic operators๐ Special thanks to:
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 23
๐9
๐ The Capacity to Resist
This week's challenge is so light you could do it while standing!
๐ฅ Goal: Create a program that calculates the total resistance/capacitance of a series-parallel circuit โ given individual values of resistors/capacitors.
๐ Formulas and rules here
โ๏ธ Recommended Learning:
-
-
-
โก๏ธ Bring the Thunder:
- Calculating total Resistance/Capacitance for two or three R/C is one thing, but how could it be done for n Resistors or Capacitors?
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 24
This week's challenge is so light you could do it while standing!
๐ฅ Goal: Create a program that calculates the total resistance/capacitance of a series-parallel circuit โ given individual values of resistors/capacitors.
๐ Formulas and rules here
โ๏ธ Recommended Learning:
-
selection statements-
variables-
arithmetic operatorsโก๏ธ Bring the Thunder:
- Calculating total Resistance/Capacitance for two or three R/C is one thing, but how could it be done for n Resistors or Capacitors?
๐ Submissions: Sunday Morning, 2:00 LT
๐ช Send your submissions in the comments.
@WeeklyCoder | Week 24