Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/CyberBattleSim
Path: blob/main/cyberbattle/_env/cyberbattle_tiny.py
597 views
1
# Copyright (c) Microsoft Corporation.
2
# Licensed under the MIT License.
3
4
from ..samples.toyctf import tinytoy
5
from . import cyberbattle_env
6
7
8
class CyberBattleTiny(cyberbattle_env.CyberBattleEnv):
9
"""CyberBattle simulation on a tiny environment. (Useful for debugging purpose)"""
10
11
def __init__(self, **kwargs):
12
super().__init__(initial_environment=tinytoy.new_environment(), **kwargs)
13
14