1 #include "Well.hpp" 2 #include "BastetBlockChooser.hpp" 3 #include <ios> 4 5 using namespace Bastet; 6 using namespace std; 7 main()8int main(){ 9 Well *w=new Well; 10 BlockPosition p; 11 p.Drop(Z,w); 12 w->LockAndClearLines(Z,p); 13 cout<<w->PrettyPrint()<<endl; 14 cout<<"Score:"<<Evaluate(w)<<endl; 15 16 w->Clear(); 17 BlockPosition p2; 18 p2.Drop(I,w); 19 w->LockAndClearLines(I,p2); 20 cout<<w->PrettyPrint()<<endl; 21 cout<<"Score:"<<Evaluate(w)<<endl; 22 } 23