Code Monkey home page Code Monkey logo

battleship-etv's Issues

Rewrite place_ships function

It works but it's not elegant. I'm certain there's a better way. Let's research some algorithms I am sure there are some out there.

Package game using a zip file and an install/run script.

We are first going to package it for Windows. Here is how it's going to work:

  1. We will package all the source code and media files into a zip file
  2. Include a python or batch script which installs all the required programs to run the game
    • Install Python 3
    • Install pygame
  3. Include a batch script which runs the game. It should simply say
    • python3 battleship.py

This is just the traditional method of packaging programs and it should work out fine. We will make one for windows then one for Mac and Linux.

print_board function

we need to implement the print_board function to at the very least just print the current board elements. No need for numbering yet we can make that a separate feature.

Variable Grid Size

The client has asked that we implement different levels of difficulty based on grid size and ship count so the user can pick a grid size at the start of a game.

Music and sound files are not on github.

The sound files are not being uploaded to GitHub. We need to find a solution to this by either adding them to GitHub or uploading them somewhere and adding an install script which downloads them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.