Projects
Connect Four
Language: Haskell
- Programmed IO for person and AI to compete in full connect-4 game
- Coded AI to rely on minimax algorithm to play next best move
- Included changeable AI difficulty based on prune level of game tree, higher prune level makes it harder to beat AI
- Integrated a checker to check for win or draw before every next move
- Connect-4 board gets redrawn after every played move to include most recent move
- Created checker for illegal moves to deny illegal move, inform of illegal move, and allow a new move
- click the image to open in GitHub
News Aggregator
Language: Java
- Implemented a view pager to display up to 10 news articles from selected source
- Created a dynamic menu to filter news sources when a specific news category is selected
- Incorporated onSaveInstanceState and onRestoreInstanceState to save data when switching orientation
- Utilized Android Volley to download corresponding JSON File, then parsed file to obtain sources or articles
- Incorporated setOnClickListener to open full article on web when article title, image, or text is clicked
- click the image to open in GitHub