A simple, 2-player number guessing game in Python 3.
Clone
HTTPS:
git clone https://vervis.peers.community/repos/yENdo
SSH:
git clone USERNAME@vervis.peers.community:yENdo
Branches
Tags
v0.0.3
::
igexceptions.py
#!/usr/bin/env python3
# Copyright 2018 UltrasonicMadness
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
""" This module contains all of the exceptions for Impossible Grid. """
class HLOutOfRangeException(Exception):
""" Raised when an invalid row number is input """
pass
class DuplicateHLException(Exception):
""" Raised when the given row has already been highlighted """
pass