Fill This Form To Receive Instant Help
Homework answers / question archive / CS119 Python Programming BONUS PROJECT PJ 14 – Sudoku Game Real This is a bonus project up to 2% above the regular 100%
CS119 Python Programming
BONUS PROJECT
PJ 14 – Sudoku Game Real
This is a bonus project up to 2% above the regular 100%. Please do it if you have time. If your program is partially correct, you would receive partial bonus credit.
Please write a Python program to play a Sudoku game and show its winning result. This is an application program of using 2-dimensional arrays/lists. Each array/list is for a game board of 9 x 9. Your program must know how to play Sudoku game and complete the game with a winning result.
An easier approach to this project is to write recursive functions to solve the game.
As you can see, you must pre-load the following 4 games into your arrays/lists. Please create 4 arrays of 9 x 9 each, and call them G1, G2, G3, and G4 for examples.
The complete output of your test of 4 games must look exactly as follows including the data.
Welcome to play the Sudoku real game of "Dr. Simon Lin"!ç must use your name here!
1==================================================.
Game 1 is as follows:
123456789
4_6789123
7891_3456
234567891
5678912_4
891234567
_45678912
678912345
912345_78
Game 1 winning result is as follows:
123456789
456789123
789123456
234567891
567891234
891234567
345678912
678912345
912345678
2==================================================.
Game 2 is as follows:
_2345678_
_56789_23
7891_3456
23_567891
56789_234
89_23456_
345678_12
_7891_345
91_34567_
Game 2 winning result is as follows:
123456789
456789123
789123456
234567891
567891234
891234567
345678912
678912345
912345678
3==================================================.
Game 3 is as follows:
4_8_9_6_3
_7_63_8_5
23_57_419
_85_47_62
9_7_2_531
62_35_74_
_92_63_87
7_4_8_3_6
86_71_29_
Game 3 winning result is as follows:
458291673
179634825
236578419
385147962
947826531
621359748
592463187
714982356
863715294
4=================================================.
Game 4 is as follows:
__8_9_673
_7_6_4_2_
2_______9
3__1_7__2
_4____53_
6__3_9__8
5_______7
_1_9_2_5_
__3___29_
Game 4 winning result is as follows:
458291673
179634825
236578419
385147962
947826531
621359748
592463187
714982356
863715294
5=================================================.
Thank you for playing this Sudoku real game of "Dr. Simon Lin"! ç must use your name!
6=================================================.
How to submit your Project Assignment (PJ)?
(1) Each program must be well documented with block comments and proper line comments.
The beginning of each program must have a block comment to show its author, date, and purpose.
The following is an example of block comments:
# Author: _______________ ç must use your full name here!
# Date: _________ ç must put today’s date here!
# Purpose: _______________ ç must show the purpose of this program here!
(2) You must submit to Canvas the following two items as attachments:
(a) Your source program (for example, CS119-PJ14.py ), and
(b) Your WORD document (for example, CS119-PJ14-report .docx ) containing the listing of
your Python program, and the complete output of your 3 test runs as specified.
You must not submit a zip file to Canvas.
=========================================================================.
//You must delete everything above & including this line to make this your Word document to be submitted.
PJ 14 Report My Name: ______________
A. The following is my Python source program:
// Please copy your source program into here from your Visual Studio IDE.
// Your code here must be in color. You must not show screen prints here.
B. The following is the console output of my 4 games:
// One way to copy the console output is to press Ctrl+Alt+PrtScn.
// Another way to copy is to use the snipping tool. To paste the image is to press Ctrl+v.
// The console display must not be too wide, otherwise it will be too hard to read once pasted.
// Please make sure your console is long enough to show all your output lines to be captured.
// Please copy your console output and paste into here:
Game 1:
Game 2:
Game 3:
Game 4:
Already member? Sign In