This document is a student project submission from the University of Computer Studies (Pathein) on using Prolog to model a football league system. It introduces the project, explains the motivation was a hobby in fantasy football leagues, and how Prolog was used to create a database of players and teams in the NFC North division with their positions and projected points. It includes the Prolog code listing the players, teams, and stats, and provides sample queries and solutions to questions about the rosters and players. The conclusion states the project demonstrated using Prolog to represent an NFL league and hopes everyone found it enjoyable.
This document is a student project submission from the University of Computer Studies (Pathein) on using Prolog to model a football league system. It introduces the project, explains the motivation was a hobby in fantasy football leagues, and how Prolog was used to create a database of players and teams in the NFC North division with their positions and projected points. It includes the Prolog code listing the players, teams, and stats, and provides sample queries and solutions to questions about the rosters and players. The conclusion states the project demonstrated using Prolog to represent an NFL league and hopes everyone found it enjoyable.
This document is a student project submission from the University of Computer Studies (Pathein) on using Prolog to model a football league system. It introduces the project, explains the motivation was a hobby in fantasy football leagues, and how Prolog was used to create a database of players and teams in the NFC North division with their positions and projected points. It includes the Prolog code listing the players, teams, and stats, and provides sample queries and solutions to questions about the rosters and players. The conclusion states the project demonstrated using Prolog to represent an NFL league and hopes everyone found it enjoyable.
Football League System Group(III) Supervised By : Daw Zin Mi Mi Aung
Submitted by
Mg Min Htet Ahkar Kyaw 4CS-52 (Leader)
Ma Myat Noe Oo 4CS-49 Mg Kaung Khant Zaw 4CS-54 Mg Htet Naing 4CS-61 Ma Aye Wutyi Soe 4CS-66 Mg Sai Kaung San 4CS-68 Mg Min Khant Htal 4CS-79 Ma Thet Waiyan Min 4CS-86 1.Introduction
Prolog is a programming language where one creates a
database of Prolog facts after a set of facts are declared , one is able to ask questions based on these facts where the program displays various answers based on the relationships established between the facts. Our system creates a database of prolog facts. The requirements for the system started that we must come up with some problem that could be solved using a prolog database. Football League System, also known as the football pyramids, is a series of interconnected league for men’s association football clubs. 2.Motivation
I have begun a new hobby this year.
This hobby is taking part in several fantasy football leagues. For those who do not know what a fantasy football leagues is, it is quite simple. One gets several people together who are interested in stating a league. After a league has enough members, usually four or more, one is ready to start a draft, Each person is assigned a draft number, where you get a certain number pick. 3.Problem Solving
The database contains the first and second string players
for each team in the NFC North division. Each team has the quarterback, running back, wide receiver, and tight end positions. The main facts of each player are what team the particular player plays for, his position, and the points they are projected to get during week four of the NFL season. The Vikings players projected points are for week five because they have a bye during week four, meaning they are not playing during week 4. Also, each team’s bye week is displayed. 4. Prolog Program The list of players and their position. Prolog Program(Cont’d) The teams they play for, followed by their bye week and their project stats. Prolog Program(Cont’d) Prolog Program(Cont’d) 5.Solution Who are the quarterbacks in the league?
Who are the Vikings running backs?
What are the projected points for the bears roster?
Solution(Cont’d) Who are Lion’s receivers?
Who is in the Packers roster?
Solution(Cont’d) This week, I really need a good running back. 6. Conclusion
This project is mentioned about the National Football League
(NFL).. The reference uses from Jason Gentry’s Prolog. Everyone would learned about how the NFL was played and everyone would enjoy our presentation. Thanks You for Your Attention