Skip to content

BradTu/PassABill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PassABill

This program is a simplified simulation of congress. It is supposed to show the process of making a bill into a law and how partisanship in congress effects the process. It takes the user input to determine the ratio of D and R in congress and whether or not the president is a D or R. It also asks the user to list their party as the politician introducing legislation. Based off of all the information the bill could be passed through congress or not, it can be vetoed or passed by the president. If it is vetoed congress has another vote on it and they can override the president. The results of all this is visualized.

Example output:

alt tag

alt tag

Sources for the voting percentages and inspiration:

https://www.washingtonpost.com/news/the-fix/wp/2015/05/27/how-often-the-2016-candidates-agreed-and-disagreed-in-their-senate-votes-charted/?utm_term=.0d7365009bca

http://www.realclearscience.com/journal_club/2015/04/24/political_partisanship_in_three_stunning_charts_109196.html

This program uses the StdDraw library created by Princeton University:

http://introcs.cs.princeton.edu/java/stdlib/javadoc/StdDraw.html

http://introcs.cs.princeton.edu/java/stdlib/StdDraw.java.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages