Severity: Warning
Message: fopen(/tmp/ci_sessionpggmvu1hiuv9kusdl9v55qo5s3knem1e): failed to open stream: No space left on device
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /tmp)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /var/www/html/application/controllers/Project.php
Line: 10
Function: __construct
File: /var/www/html/index.php
Line: 311
Function: require_once
By Md Omer
A Project that allows the user to predict a number from 1 to 20, then matches it with Machine's number using Python.
In this project, I have written the source code of a game that I created with the help of python. Here, the user is asked about the difficulty level that he might wanna choose and then the program executes according to the user's response. The number of chances depends on the user's choice. If the user predicts the correct number then he wins the round, else he loses.
Algorithms Used:
1. Used if-Elif loop for difficulty selection.
2. Used random module for generating a random number
The below image shows the output of the project:
Submitted by Md Omer (omerl23l0)
Download packets of source code on Coders Packet
Comments