pradosh-arduino / StaticAI

A Simple AI made with C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StaticAI

A Simple AI Coded with C#

How it works?

AI has 2 Phases.

It will generate a random score between 0 to 100

In Phase 1 it will check if the score was > 50

In Phase 2 it will check if the score was bigger than the last one if yes add it as it's didWork

At last it will show how many better scores it got and the most best one

Execution

Starting StaticAI...

Failed! (Phase1) 38
Failed! (Phase1) 10
Passed! (Phase1) 56
Passed! (Phase1) 57
Passed! (Phase1) 64
Failed! (Phase1) 5
Passed! (Phase1) 76
Failed! (Phase1) 25
Passed! (Phase1) 55
Passed! (Phase1) 92
Failed! (Phase1) 37
Failed! (Phase1) 34
Failed! (Phase1) 26
Failed! (Phase1) 30
Failed! (Phase1) 1
Passed! (Phase1) 76
Passed! (Phase1) 53
Failed! (Phase1) 42
Passed! (Phase1) 66
Failed! (Phase1) 30
Failed! (Phase1) 14
Failed! (Phase1) 30
Passed! (Phase1) 57
Passed! (Phase1) 59
Passed! (Phase1) 95
Failed! (Phase1) 4
Failed! (Phase1) 9
Passed! (Phase1) 80
Passed! (Phase1) 69
Passed! (Phase1) 82
Passed! (Phase1) 64
Failed! (Phase2) 38
Failed! (Phase2) 10
Passed! 2nd checking (Phase2) 56
Passed! (Phase2) 56
Passed! 2nd checking (Phase2) 57
Passed! (Phase2) 57
Passed! 2nd checking (Phase2) 64
Passed! (Phase2) 64
Failed! (Phase2) 5
Passed! 2nd checking (Phase2) 76
Passed! (Phase2) 76
Failed! (Phase2) 25
Passed! 2nd checking (Phase2) 55
Passed! (Phase2) 55
Passed! 2nd checking (Phase2) 92
Passed! (Phase2) 92
Failed! (Phase2) 37
Failed! (Phase2) 34
Failed! (Phase2) 26
Passed! (Phase2) 30
Failed! (Phase2) 1
Passed! 2nd checking (Phase2) 76
Passed! (Phase2) 76
Failed! (Phase2) 53
Failed! (Phase2) 42
Passed! 2nd checking (Phase2) 66
Passed! (Phase2) 66
Failed! (Phase2) 30
Failed! (Phase2) 14
Passed! (Phase2) 30
Passed! 2nd checking (Phase2) 57
Passed! (Phase2) 57
Passed! 2nd checking (Phase2) 59
Passed! (Phase2) 59
Passed! 2nd checking (Phase2) 95
Passed! (Phase2) 95
Failed! (Phase2) 4
Passed! (Phase2) 9
Passed! 2nd checking (Phase2) 80
Passed! (Phase2) 80
Failed! (Phase2) 69
Passed! 2nd checking (Phase2) 82
Passed! (Phase2) 82
Failed! (Phase2) 64
Learned: 29 best is: 95

Note: The numbers will be diffrent on every time you run

About

A Simple AI made with C#

License:MIT License


Languages

Language:C# 100.0%