Monday, December 25, 2017

Feliz Navidad

Dear readers,
I hope that you enjoy this song.


Merry Christmas!

25-12-2017

Saturday, December 09, 2017

Remember Me

Dear readers,
I hope that you will enjoy this song.


Thanks for drinking.

09-12-2017

Tuesday, November 28, 2017

Thinking Out Loud Ep 2.1

I'm back!

Remember the square root of 2 in our last episodes? As shown, 2 is a rational number, so square root of 2 is the opposite of a rational number, which is an irrational number.

After rational and irrational numbers, there were indices and powers.

 ______
|            |                   I now have the power to rule the world!
|            |    |
|______|   /
       | ___/
     / |
   /   |
   \   |
     \ |
       |
     /  \
   /      \
  |         |
  |         |

No, not that sort of power, this power!

2^3=8

Later on, there was a huge problem.
   ___
  /  1    = 1
\/
   ____
  /  -1    = ?
\/

People then invented a symbol to substitute the square root of negative 1, which is i, also called imaginary number.

So now, people could do mathematical operations that involves square roots of negative numbers.
   ____         ____
  /  -2    =    /    2       x   i
\/              \/

And after all these years of expansion, is there any more space to expand? The answer is yes. Like the Big Bang, mathematics is constantly expanding gradually everyday. For example, representing the imaginary number as a real number.

This is all for today. Thanks for reading. And remember ...
 _____________________
|                                          |
|          MINECRAFT         |
|            __         __             |
|           |__|        |__|            |
|                 ___                   |
|           __ |      |__               |
|           |     ___     |              |
|           |__|      |__|              |
|                                          |
|    10 percent discount!     |
|      ONLY TODAY!!!       |
|_____________________|

28-11-2017

Wednesday, November 08, 2017

Announcement

Dear readers,
I will take a break from being a blogger as I have a project.

Thanks for understanding.

Sunday, October 29, 2017

Thinking Out Loud Ep 2.0

Today I'm thinking about...
Is there a limit in mathematics?

A long time ago, people needed a way to count.

 ____
|        |      How should I know how many sheep do
|____|           I have?
    |
  / | \
/   |   \
   / \
 /     \

The solution is... NUMBERS!

They only needed numbers for counting, so they created Natural Numbers, which are 0,1,2,3,4,5,6,7,8,9 and so on.(0 is often considered) This was good until they found a problem when they did the operation minus.

5 - 2 = 3         // This is okay.
2 - 5 = ?         // But how to represent this?

So, people created negative numbers and placed negative and positive numbers in a set called integers.

 ____
|        |      This is easier!
|____|     
    |
  / | \
/   |   \
   / \
 /     \

But then, another problem appeared.
Division.

2 / 1 = 2
1 / 2 = ?

They invented decimals and fractions to solve the problem.
 _____________________
|                                          |
|          MINECRAFT         |
|            __         __             |
|           |__|        |__|            |
|                 ___                   |
|           __ |      |__               |
|           |     ___     |              |
|           |__|      |__|              |
|                                          |
|    10 percent discount!     |
|      ONLY TODAY!!!       |
|_____________________|

And percentages tagged along.
All was great until the time of Pythagoras.

    ____
   /  2       = 1.414213562 ......
\/

They needed a new name for this type of number.

Since any integer can be shown as a fraction or ratio,

 2      =   2
 1

They called this type of number as rational numbers.

To be continued...

29-10-2017

Saturday, October 28, 2017

Tea54321

Hello readers!

Please visit a new blog called Tea54321. It is  the collaboration of this blog, CoFFee321 and The Conkers of Serdang. I will still work on this blog, so stay tuned for more!
Thanks!

28-10-2017

Sunday, October 22, 2017

Chicken World






Worms: 0
Chickens: 0
Chicks: 0
Eggs: 0

The e Team Episode 2

Welcome back to the e Team! We will continue on where we left off.

_________________________________________________________________
_________\_\___\_\_______________________/_/____/_/_________________
                   \  \ |\    \  \ _                                        / \ /        /  \\
                    \___\  \ ___\                                    /__/       /__ /
                     |___|  |____|                                  |___|      |___|
                         \        \                                         /              /              _________
                          \         \                                      /              /               |                  |
                           \ ____\ _________________ /_______/ _______ |                  |
                                                                                                          |                  |
                                                                                                          |_________|
                                                                                           Run off when you can,
                                                                                             and leave me alone,
                                                                                               would you? Hmph!

Okay, Frank. We're sorry. Anyway, where are they bringing you to?

_________________________________________________________________
_________\_\___\_\_______________________/_/____/_/_________________
                   \  \ |\    \  \ _                                        / \ /        /  \\
                    \___\  \ ___\                                    /__/       /__ /
                     |___|  |____|                                  |___|      |___|
                         \        \                                         /              /              _________
                          \         \                                      /              /               |                  |
                           \ ____\ _________________ /_______/ _______ |                  |
                                                                                                          |                  |
                                                                                                          |_________|
                                                                                                 How should I know?

Well, that's an honest answer.

Hey, I think we've stopped.

Excuse me, where are we?
 ______
|             |        We are at the e Team's headquarters.
|             |        I expect that you are travellers, right?
| ______|
       |
     / | \
   /   |   \
   __|__
  |          |
  |_____|
     /   \
   /       \

How did you know?
  ______
|             |        Using our mind of prediction and current
|             |        technology.
| ______|        And MATHEMATICS!
       |
     / | \
   /   |   \
   __|__
  |          |
  |_____|
     /   \
   /       \

Okay, but why did you bring us here?
  ______
|             |        We have a problem on our hands.
|             |        We do not know how to solve 1/2!
| ______|     
       |
     / | \
   /   |   \
   __|__
  |          |
  |_____|
     /   \
   /       \

Great, we can help you.
A visual representation is possible using a circle or a square.
We have a pie here.
 _________
|                  |
|                  |
|                  |
|_________|

Isn't it great!
 ______
|             |     
|             |        Hey, that was my pie!
| ______|     
       |
     / | \
   /   |   \
       |
       |
      / \
     /   \
   /       \

Never mind, Frank.

We can cut our pie in half.
 _________
|         |         |
|         |         |
|         |         |
|____ | ____|

We can cut our pie into two pieces.

Why two? 

Because in an equation x/y, y is the number of pieces to cut into.
Now, all we have to do is take x number of pieces away.
 ____
|         |
|         | 
|         | 
|____ |

This is our solution. One half of a pie.

  ______
|             |        We got that.
|             |        But how about a mathematical solution?
| ______|     
       |
     / | \
   /   |   \
   __|__
  |          |
  |_____|
     /   \
   /       \

Easy! We can use division.

Each number can have lots of zeroes before it, right?

00000000002

The value of the number would be the same without the zeroes.

00000000002 = 2

A number also can have zeroes after it.

2.00000

Similarly, it also equals to 2.

  ______
|             |        Why is there a dot in 2 . 00000?
|             |     
| ______|     
       |
     / | \
   /   |   \
   __|__
  |          |
  |_____|
     /   \
   /       \

This is to separate the number from 20000.

So, using division,
      0  .   5
    _______
2 /  1
 /  - 0 
      1  .  0
   -  1  .  0 
              0 

Like 10 divided by 2 is 5,
1 divided by 2 is 0.5.

To be continued...
 


Lego House

Dear visitors,
Please enjoy this song.



I hope you enjoyed it.
Thanks for visiting!

22-10-2017

Friday, October 20, 2017

The e Team Episode 1

Welcome! We are the e Team. Come on in.
        __
       |__|
 ____|____
|   |   __   |   |
|  |_| |__|/ \  |
|_________|
|                  |
|_________|

No, not the Eat Team. It's the e Team!

 ___________________________________
|                                |                                     |
|             _________ | _________                  |
|            /    _______ | ______      \                 |
|          /     /               |             \      \                |
|        /     /                 |              \      \               |
|       /    /_________ | _______\       \             |
|      \      _________ |____________ \           |
|       \    \                   |                                     |
|        \    \                  |                     __            |
|         \    \                 |                   /     /           |
|          \    \ _______ |_________/     /            |
|           \__________|___________/             |             
|                                |                                     |
|                                |                                     |
|                                |                                     |
|                                |                                     |
|                                |                                     |
|_______________  | __________________|

Here we are. The e Team's top secret lair.

Today, the e Team is trying to build a time machine.

So far, they got this.

 __________O__________
|                                           |
|                                           |
|               _______              |
|              |              |             |
|              |      e      |             |
|              |_______|             |
|                                           |
|                                           |
|                                           |
|                                           |
|                                           |
|                                           |
|                                           |
|                                           |
|_____________________ |


    ____
   |        |       Boss! Boss! I am going to show you time travel!
   |____|
       |
     / | \
   /   |   \
       |
     /  \
   /      \


Okay, Benjamin.

    ____
   |        |       I have time traveled 1 second into the future!
   |____|
       |
     / | \
   /   |   \
       |
     /  \
   /      \

1 second later...

Oh, Benjamin!

Now, let's witness real time travel.

Here is Frank.

    ____
   |        |         Hi!      
   |___ /| 
       | /
     / | 
   /   | 
       |
     /  \
   /      \

Okay, Frank. Show us REAL time travel!

 __________O__________
|                                           |
|                                           |
|                                           |
|                                           |
|      Okay, wait a minute.    |
|                Done!                 |
|                 ____                  |
|                |        |                 |
|                |____|                 |
|                    |                      |
|                  / | \                    |
|                /   |   \                  |
|                    |                      |
|                  /  \                     |
|________/___\_________ |

Now where are we?

    ____
   |        |       I don't know.
   |____|
       |
     / | \
   /   |   \
       |
     /  \
   /      \

I sense somebody coming...

    ____
   |        |       Hi, Boss!
   |____|
       |
     / | \
   /   |   \
       |
     /  \
   /      \

Benjamin!? What are you doing here?

    ____
   |        |       I was upgrading the time machine. 
   |____|       Frank suddenly time traveled and brought me here.
       |
     / | \
   /   |   \
       |
     /  \
   /      \

Oh, Benjamin!

Okay, but I still feel something coming.


    ____
   |        |          Arrrrr....... I smell trespassers!
   |____|
       |
     / | \
   /___\
    |__ |
     /  \
   /      \

Uh oh... CAVEMEN!


To be continued...

20-10-2017

Sunday, October 15, 2017

The e Team

I'm going to release a new series called The e Team! So wait for it!

15-10-2017

Saturday, October 14, 2017

CC Version 3: It's so cool!

The next version of CC is here!

It is special because it has an efficient brain.

                                            __________                    __________           e       _________
                                           /      Short      \      i          /                     \   --------> |   Delete     |
                                   _    /          term       \ ------>  /    Temporal     \  /__i__    |  function   |
                                    / \  \       memory    / \           \      memory     /  \         |   |_________| 
                                  /        \__________/     \           \ __________/              |
                                /                                       \ i                                             |
                              /                                          \                                              |
                          i /                                            _\ /                                          |
   __________   /            ___________                ___________                     |
  /                    \/     e      |                       |       e     /       Long        \                  |
/     Database    \ <-----  |     Search        | ------>/        term           \ ________|
\                        /            |    function      |            \       memory     /
 \___________/             |___________ |              \___________/

i for input and e for execute

The Brain

CC has short term memory, long term memory, temporal memory and database as the data storage. It also has two functions which are search function and delete function.

The short term memory can keep up to 8 memories while the temporal memory can keep up to 128 memories and the long term memory can keep up to 2048 memories.

In conclusion, it has an advanced brain which allows it to think faster.

14-10-2017

CC Version 3

/ / / / / \ \ \ \ \ / / / / / ___________________ | __ __ | | / \ / \ |______ | | | | | | __ \ | | | | | | == == | | | | | \ / | |__| | | \________/ |______/ | | \___________________/

Sunday, October 08, 2017

CC Version 2 : It's back!

I have created CC Version 2!

Here are some things that CC Version 2 can understand.

- birthday
- bye
- coffee birthday
- creator
- hello
- shape of you
- tell me why
- tlof
- who are you

However, please take note that CC Version 2 can only understand lowercase letters.

Thanks for visiting!

08-10-2017

CC Version 2

/ / / / / / / / \ \ \ \ \ \ \ \ / / / / / / / / __________________ | __ __ | | / \ / \ |______ | | | | | | __ \ | | | | | | == == | | | | | \ / | |__| | | \_______/ |______/ | | \__________________/

Thinking Out Loud Ep 1.1

Welcome back!

To continue from last episode, we will consider the requirements needed.

1. A complex and capable device must be used.
2. The device must be able to operate at a fast speed.
3. The device must be able to do calculations and operations without any error at all. (100% correct         and 0% wrong!)
4. The civilization that creates the simulation must be very intelligent and advanced.
5. The planet the civilization lives on or the galaxy that the civilization lives in must have a lot of            resources.

We'll explain requirements 3,4 and 5.

Imagine that the device suddenly creates an error and something against the laws of science including physics, chemistry and biology and the laws of mathematics happens in the simulation.
The test subjects in the simulation might notice the error and discover that the world that they are living in is a simulation.

For number 4, this is simple to understand. The civilization must maintain, upgrade and keep the simulation running for... maybe forever? If it doesn't, then the simulation will crash and it will be the end of the world for the test subjects. Furthermore, the civilization must be advance in the first place to create the simulation.

Last but not least, number 5! Similar to the construction of a computer, a lot of metallic elements must be used. So, the surrounding environment of the civilization must be resourceful enough to have the requirements to create and maintain the device.

It still may be impossible for a simulation to be created in our world, but imagine what would it be like if we were THE simulation. Who would have created us? Do they know the whole world's secrets? Could we communicate with them?

But what if we were A simulation? What do I mean? We could have been created by a simulation inside a simulation inside a simulation inside a simulation... and so on.

Back to the point. With the technology now, it would be hard to create a simulation. However, we might be living in one. Or one inside another one. Don't get me started again...

That's all.

Thanks for drinking.

08-10-2017

Tuesday, October 03, 2017

The Conkers of Serdang

Dear readers,
Please visit my friend's blog at The Conkers of Serdang.
Thanks.

03-10-2017

Sunday, October 01, 2017

Thinking Out Loud Ep 1.0

Today, I'm thinking about...
Is the world a simulation?

First, let's define what is a simulation.
A simulation is an imitation of a situation or process.

If so, that must mean that our world is controlled by a device which is capable of running or calculating lots of operations each second. An atom vibrates at a frequency of 10^13 Hz. It means that an atom vibrates 10^13 times per second or 10^11 times per millisecond. If there are 1,000,000 atoms in a simulation, the device will have to do 10^19 operations in a second. So, the device must be really accurate,consistent and fast.

Other than the requirement of a super computer, there is also the requirement for a device that is capable to store lots of memory. Like the example above, if the device were to keep all the movements of the atoms in a second, it would have to store about 1.25*10^18 bytes of memory. This would require great and advanced technology.

With those two requirements in mind, it may seem impossible to create a simulation like above. However, it is not impossible.

To be continued...

01-10-2017

Sunday, September 24, 2017

Thinking Out Loud: A New Series!

I am starting a new series called Thinking Out Loud!
Oh, and I am sorry to say that Algo Code and CoFFeeLands will be discontinued.

Please enjoy this song anyway.

Thanks.

24-09-2017

Saturday, September 23, 2017

Bubble Shooter

Thursday, August 31, 2017

Snake



Sunday, August 13, 2017

Catch! AI

Remember the game Catch! ?
I have created an AI for it.
Here is the link to download it.
Catch! AI

Here is a still of the program.
 The lime square




is the player (PLR)

The green square




is the food (@)

This is the test area.


This is the overall status.
Guess is the value that the AI is guessing that the food will come from and weight is the AI's special deduction number.

This is the data of the AI.


This the appear value of the food.


This is the reward value.

 ^              Higher
 |
 |
 |               Lower


----------------------------------------------------------->
New                                                               Old

If the AI catches a food, the reward value increases.
If the AI misses a food, the reward value decreases.

Please enjoy the program.
Thanks.

13-08-2017

How to Use DrawPad2

DrawPad2 is the second version of DrawPad. It can be used to draw normal pictures(including pixellated ones). You can change the RGB value of the pen.

Arrow keys for movement.
Z for switching on the pen.
X for switching off the pen.

If the pen is off, it will show the color orange.
If the pen is on, it will show the current pen color.

It is only for PC. No mobile version yet.

13-08-2017

DrawPad2


255

0

0

Sunday, August 06, 2017

About DrawPad

DrawPad is my latest program. It can be used to draw pixellated pictures. You can change the RGB value of the pen.

Arrow keys for movement.
J for switching on the pen.
K for switching off the pen.

If the pen is off, it will blink between the color white and yellow.
If the pen is on, it will show the current pen color.

It is only for PC. No mobile version yet.

06-08-2017

Sign of The Times

Dear readers,
I hope that you will enjoy this song.


Thanks for dropping by!

06-08-2017

DrawPad


255

0

0

Friday, June 30, 2017

Counting Stars

Dear readers,
Here is a song that you might enjoy.


I hope that you enjoyed it.

Thanks for drinking.

30-06-2017

About CC

Dear readers,
I have created a chatbot that can assist you while using CoFFee.
However, it uses lowercase letters.

Here are the possible inputs.

- represents the first box.
@ represents the second box.
# represents the third box.

- help
 @ algo
 @ who
 @ coffee
 @ help
- coffee
 @ algo
 @ info
 @ games
 @ coffeegames
- algo
 @ when
 @ latest version
 @ function
  # cngCol
  # rect
  # triangle
  # quad
  # ellipse
  # line
  # text
  # cngFont
  # drawImage
  # cnvscls
  # cnvsclr
- info
 @ version
 @ birth
 @ story
 @ credits
- today
- hello
- hi

I hope that you enjoy using CC.

30-06-2017

CC

/ / /
\ / \ / \ /
/ \ / \ / \
_________________________ | __ __ | | / \ / \ |________ | | | | | | _____ \ | | | | | | / \ | | | | | | | == == | | | | | \ / | | | | | \ / | \_____/ | | \__________/ |________/ | | \_________________________/